You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While this approach works very well for the cases it's needed, syncing without refetching should be used unless refetching is absolutely necessary for performance reasons. For example,
257
+
258
+
A sync update request is triggered on the server for a 'regular' sync'd partial with 100 listening clients:
259
+
- number of http requests 1
260
+
- number of renders 1, pushed out to all 100 clients via pubsub server.
261
+
262
+
263
+
A sync update request is triggered on the server for a 'refetch' sync'd partial with 100 listening clients:
264
+
- number of http requests 100
265
+
- number of renders 100, rendering each request in clients session context.
266
+
225
267
## Using with cache_digests (Russian doll caching)
226
268
227
269
Sync has a custom `DependencyTracker::ERBTracker` that can handle `sync` render calls.
0 commit comments