Browser & Web Performance · Senior · Question 35 of 75
Why might ETags generated from inode or modification time cause poor cache revalidation behind a load balancer?
- 1ETags are stripped by load balancers
- ✓Correct answer: Different servers produce different ETags for the same file, so
If-None-Matchoften misses and full responses are sent - 3Load balancers don't support
304
Explanation
Content-hash ETags are consistent across servers. Weak ETags (W/) may also be required when compression changes the bytes.