The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Hardcore Caching secrets from Flickr

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Christopher Williams

Posts: 88
Nickname: sgtcoolguy
Registered: Apr, 2006

Christopher Williams is a Ruby, Rails and Java programmer
Hardcore Caching secrets from Flickr Posted: Jun 2, 2006 1:48 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Christopher Williams.
Original Post: Hardcore Caching secrets from Flickr
Feed Title: Late to the Party
Feed URL: http://cwilliams.textdriven.com/xml/rss20/feed.xml
Feed Description: Ruby. Rails. Stuff.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Christopher Williams
Latest Posts From Late to the Party

Advertisement

Cal henderson of Flickr has posted an excellent article on serving javascript, css and images in the best way for a dynamic website. He mentions a number of great tips, with some sample code in PHP and Perl. If you're running a dynamic website, it might do you good to take a look at the article and try and steal any tips you can.

Tim Lucas has a follow-on article, suggesting a Rails plugin.

Some plugins or tools for doing some of this in Rails would be tremendous. Obviously a lot of this stuff is for very high traffic sites and involves quite a bit of hacking around with Apache and URL rewriting.

One item from Cal's article that seems pertinent to Rails specifically is his assertion that according to spec browsers shouldn't cache URLs with query parameters attached, but that Firefox and IE do (while Opera and Safari don't). I'm guessing that caching was the reason behind why recent Rails versions started generating timestamp query params at the end of URLs to static content? Does this mean it only works for IE and Firefox?

Read: Hardcore Caching secrets from Flickr

Topic: Dude. Slayer. The Whole Day Previous Topic   Next Topic Topic: FXRuby 1.6 Released

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use