Forum Discussion
rb1980_75708
Dec 30, 2008Nimbostratus
How does WA do ETags?
I've looked and looked but can't find any info on how Etags are "calculated" on the WA. I need to know to help diagnose some upstream caching issues.
Most importantly, am interested in how Etags play in asymmetric configuration (4 standalone boxes in round-robin). Will ETags be consistant across the 4 machines?
- rb1980_75708NimbostratusI should add that Etags are not being passed up by the origin servers, they are sending Expires but WAM is converting Expires in to Etags+Cache-Control. I assume that is by design. This makes troubleshooting very difficult.
- Shay_Isa_80513Historic F5 AccountGenerally speaking, WA generates the same e-tag for the exact same object residing on different servers at same path. For example if blah.gif exists on /image/blah.gif on all the servers being load-balanced, WA would generate the same etag for the object when it sends the response to the browser. The e-tag generated will be consistent across all servers. Thus negating the possibility of the browser downloading the same object multiple times because the e-tag generated on each servers are different.
- rb1980_75708Nimbostratus
Posted By s.isa@f5.com on 01/10/2009 1:03 PM
- What are the date + expires values? I have seen issues when the values are set significantly in the future (greater than 1 year) that WA will ignore them. The pvac log will show that an invalid expires was encountered and it is being set to a different value.
- rb1980_75708NimbostratusThanks, Dawn. That's a good explaination but doesn't seem to jive with what I am seeing:
HTTP/1.1 200 OK
HTTP/1.1 200 OK
- Thanks for opening a case on this. It defnitely doesn't seem to be working as it should for HTML pages. I also find Akamai's response and interpretation of the rfc interesting. According to rfc 2616 http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.htmlsec14.9.1(Click here)
- strongarm_46960NimbostratusI did notice some bizarre LTM behaviour in regards to setting Maximum Cache vs original Etags-Cache-control, duplicate zero content length objects being returned to browser, furthermore huge bandwidth consumption utilization spikes.
- rb1980_75708Nimbostratusyeah, there's definitely some conflicts when it comes to "Use HTTP lifetime headers if present" and Max Age.
HTTP/1.1 200 OK
HTTP/1.1 200 OK
- rb1980_75708Nimbostratusyes, this is still a "problem" although there are workarounds. PS: this is still not fixed in 10.x code.
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