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

The internal service cache should support the HTTP standard cache-control #1

Open
hean01 opened this issue Feb 3, 2015 · 0 comments
Milestone

Comments

@hean01
Copy link
Owner

hean01 commented Feb 3, 2015

For now the internal service cache doesn't support HTTP cache-control functionality to provide cache information of object fetched to the client of the service. This is needed for proper caching of resources client side.

The main reason for the service cache functionality is that a client should not need to have internet access to be fully functional. The other reason is that the service have control of resource lifetimes regardless of what the original location reports to the client.

Speed and cache size is also a factor, we could fully rely on the client side cache but this cache is probably limited in size especially on android devices and not shared among several devices.

  • The service cache is only intentionally to be used for static item metadata such as images, even thou they might not be static it's not a main problem to show an outdate images from the cached resource life time.
@hean01 hean01 added this to the 1.0 milestone Feb 3, 2015
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