Help with cached content

Topics: User Forum
Sep 27, 2007 at 3:31 AM
I want ot rewrite a rule that evaluates the incoming URL and returns a cached file if it exists. I'm using Ruby on Rails and want to avoid sending requests off to ruby if cached content exists.

Example: might have a cached file /about.html

or might have a cached file in /locations/search.hml

I don't know where to start and couldn't find any documentation examples of what I want to do.