Icon_search

Items tagged with "caching"

Show:  All  |  News Items  |  Blog Posts

Blog Posts

Rails Caching non HTML Files in a Different Cache Location

May 8, 2007 by Adam

We use page caching in Rails to speed up sites and improve performance. This is a great feature of Rails but can get cumbersome when trying to keep up with which pages to sweep and when. To make life easier we use a separate directory to house the cache. This solution is great for files that end in a .html extension but for other file types you need a new rewrite rule...

Tagged: ruby, on, rails, caching, server, performance