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
When the cache TTL expires, the cache will not be refreshed until the next user visits the site, because refreshing the cache is triggered by a request. This means that this user will have a very slow initial loading time.
The architecture needs to be updated such that:
A worker is responsible for updating the cache
Rather than using a memory cache, we setup an external redis server for caching. This has the added benefit that rather than each node in the cluster keeping its own cache, all nodes share one cache (the redis cache).
The text was updated successfully, but these errors were encountered:
When the cache TTL expires, the cache will not be refreshed until the next user visits the site, because refreshing the cache is triggered by a request. This means that this user will have a very slow initial loading time.
The architecture needs to be updated such that:
The text was updated successfully, but these errors were encountered: