Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement per-service cache #285

Open
jefmoura opened this issue Jan 14, 2020 · 0 comments
Open

Implement per-service cache #285

jefmoura opened this issue Jan 14, 2020 · 0 comments

Comments

@jefmoura
Copy link
Member

Proposal

Buildly Core needs to have its extension of UpdateCacheMiddleware and FetchFromCacheMiddleware, so we can separate the caching data by service. So, Buildly Core will perform a per-service cache. We'll have the following required settings:

  • CACHE_MIDDLEWARE_SERVICE_ALIAS – The cache alias to use for storage.
  • CACHE_MIDDLEWARE_SERVICE_SECONDS – The number of seconds each service data should be cached.
  • CACHE_MIDDLEWARE_SERVICE_KEY_PREFIX – If the cache is shared across multiple applications, set this to the name of the main application.

Developers should also have the option to not use per-service caching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant