On Sat, Jun 12, 2010 at 4:40 PM, Tim Lucas <[email protected]> wrote:
> On 12/06/2010, at 1:14 PM, Mike Bailey wrote:
>
> You know Rails has had this via asset timestamping for donkeys years?

Yeah, and it's BROKEN.

Google says, "Don't include a query string in the URL for static
resources." http://bit.ly/bMggpT

They explain, "Most proxies, most notably Squid up through version
3.0, do not cache resources with a "?" in their URL even if a
Cache-control: public header is present in the response. To enable
proxy caching for these resources, remove query strings from
references to static resources, and instead encode the parameters into
the file names themselves."

There's a lot of attention being paid to caching at the moment. I'd
highly recommend reading Google's suggestions.

- Mike

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to