Current time: 12-07-2019, 01:53 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Etags vs. Last Modified Header
08-30-2012, 09:32 AM
Post: #1
Etags vs. Last Modified Header
Hello ,
After reading online sources (Yahoo, Google etc.) about Etags, I'm still NOT sure I really understand about why Etags were created and what websites can gain from it. It would seem that the "Last-Modified" header should do the trick to determine when a static resource needs to be downloaded back to the client machine and cached again or NOT; so in what case does that method fails and Etags need/can to be used? Maybe there's a scenario that I am missing that would be good to use Etags!???!

Thanks advance.

Regards,
TRX
Find all posts by this user
Quote this message in a reply
08-30-2012, 09:40 AM
Post: #2
RE: Etags vs. Last Modified Header
The main place they are helpful is if you have more dynamic or generated data rather than your typical static assets. You can hash or otherwise tag the result and if the hashes match you don't need to transfer all of the data. It is a pretty specific case though so in "general" you shouldn't use them or see them unless you know why you are using it.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-30-2012, 09:47 AM
Post: #3
RE: Etags vs. Last Modified Header
Thanks make sense. I'm just not sure why Yahoo isn't too clear about what you just stated.

http://developer.yahoo.com/performance/rules.html#etags

Thoughts?

TRX
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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