Forum: Ruby on Rails page caching - rewrite rules/ trailing slash question

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Dbfdb3647a1496ade767cb649d88afc4?d=identicon&s=25 Ben (Guest)
on 2006-01-13 05:46
(Received via mailing list)
Hi,
   I was wondering if anyone has run into this issue in which trailing
slashes
   are triggering the controller/action instead of serving the cached
page in the public/ directory.

For example
    www.myhost.com/controller/action - will serve up
public/controller/action.html
 but www.myhost.com/controller/action/ - will run the action again.

I'm quite newbie with the entire Apache mod_rewrites.

Thanks,

Ben
This topic is locked and can not be replied to.