Forum: Ruby on Rails Re: Asset Timestamping defeats browser cache?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
bellis (Guest)
on 2005-11-13 16:56
(Received via mailing list)
I don't think so -

It would defeat the browser's cache if the timestamp was the time
when the page is loaded. This would change with every refresh.

However, I believe the timestamp is the last-modified time of the
asset, so the browser will try to reload the asset only when its last-
modified time changes. This way, the browser's cache is still effective.

This topic is locked and can not be replied to.