Current time: 12-04-2020, 11:37 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
To ETag or not to ETag
10-06-2009, 10:59 AM
Post: #3
RE: To ETag or not to ETag
ETags are very useful for checking if the browser cache is valid. By default, Apache creates the ETag out of the file size, the inode and the modified date of the file. It's the inode that can cause trouble, but that doesn't kick in until your website is spread out over multiple servers. (The inode is specific to the file system that the file is stored on, so the same file with have a different ETag on each server, leading to cache confusion)

So if you're using multiple servers, either disable ETags or do not use the inode to create them. Until then, go ahead and use them, they do help.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
To ETag or not to ETag - pmeenan - 04-06-2009, 02:20 AM
RE: To ETag or not to ETag - pmeenan - 04-06-2009, 02:21 AM
RE: To ETag or not to ETag - rchurchill - 10-06-2009 10:59 AM
RE: To ETag or not to ETag - pmeenan - 10-06-2009, 11:25 PM
RE: To ETag or not to ETag - Naresh - 12-22-2009, 05:01 AM
RE: To ETag or not to ETag - pmeenan - 12-22-2009, 07:30 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)