Forum Discussion
lmiestc_26212
Cirrus
Sep 13, 2011RAMcache and Etags
Hi all,
Does the RAMcache honor Etags?
With that I mean:
1. The RAMcache has a cached response with an Etag in it.
2. A client does a HTTP request towards that cached page.
Will the RAMcache do a validation (If-None-Match ) towards the web server, using the Etag thats in the previously cached response, and if it receives 304 Not modified then serve it from the cache.
Or it doesn't honor ETags and just serves it from the cache as long as it thinks it's fresh according to the max-age in the Cache-Control header.
Any help appreciated.
//Ed
- GavinW_29074
Nimbostratus
Ed
Did you get a response to this? As I'm trying to work out the same..
Cheers Gavin
- IheartF5_45022
Nacreous
I don't have the exact answer but I can say that RAMCache will send a conditional request to the origin web servers (whether it's If-None_match or If-modified-since I'm not 100% sure), however even if it does do if-none-match, I wouldn't advise relying on Etag unless you have ETag synchronisation between your servers, otherwise you may get 200 responses when you should get 304.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects