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

Add support for caching HTTP requests #214

Open
Enngage opened this issue Jul 16, 2019 · 0 comments
Open

Add support for caching HTTP requests #214

Enngage opened this issue Jul 16, 2019 · 0 comments

Comments

@Enngage
Copy link
Member

Enngage commented Jul 16, 2019

Motivation

Reduce the amount of HTTP requests made by application & increase app's responsiveness

Proposed solution

There are 3 ways to accomplish this:

  1. Have cache as a part of kentico-cloud-delivery package
  2. Have cache as part of kentico-cloud-core package
  3. Create new HttpService which incorporates cache and let packages register it instead of default one

Additional context

There should be a way of 'clearing' cache items based on set of keys - e.g. "clear all items of 'article' type", "clear item with codename 'x'"...

Devs should be able to configure how long items are stored in cache by default or per query (this might require caching logic to by part of Delivery SDK)

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

No branches or pull requests

1 participant