Forum: Ruby on Rails JS / CSS ressource files and query strings for caching

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.
Roberto S. (Guest)
on 2006-06-01 20:30
(Received via mailing list)
Rails appends query strings to  ressource files for intelligent browser
caching (only updating browser cache when files get channged)

But this article ( )
the following:

At this point, you might ask why we don't just add a query string to the
of the resource - /css/main.css?v=4. According the letter of the HTTP
caching specification, user agents should *never* cache URLs with query
strings. While Internet Explorer and Firefox ignore this, Opera and
don't - to make sure all user agents can cache your resources, we need
keep query strings out of their URLs.

Any comments on this ?

This topic is locked and can not be replied to.