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.
http://domain.com/about might have a cached file /about.html
http://domain.com/locations/search 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.