Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Use cache control max age for value timeout #6

Merged
merged 3 commits into from
Feb 27, 2013
Merged

Use cache control max age for value timeout #6

merged 3 commits into from
Feb 27, 2013

Conversation

locochris
Copy link
Contributor

Instead of using a global timeout for all requests use the max-age from
the Cache-Control request header to set the cache timeout individually for each
request stored.

NB. This has only be done for the in MemoryStore cache, not the FileStoreCache

chris added 3 commits November 22, 2012 15:01
Instead of using a global timeout for all requests use the max-age from
the request headers to set the cache timeout individually for each
request stored.

NB. This has only be done for the in MemoryStore cache, not the
FileStoreCache
ie. in case clients of MemoryStore perform destructive actions
on the values, before they are refetched from the cache.
@fredwu
Copy link

fredwu commented Nov 27, 2012

+1

1 similar comment
@Slony
Copy link

Slony commented Nov 29, 2012

+1

denkristoffer added a commit that referenced this pull request Feb 27, 2013
…ue_timeout

Use `Cache-Control` `max-age` for value timeout
@denkristoffer denkristoffer merged commit f122161 into denkristoffer:master Feb 27, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants