RESTful Resources/ Caching Issue?


I just ran into a bizarre problem when I put my site into production.

I have a resource (call it xxx), then I created with the generate

I then set up page caching on the show action. But now in the
production environment, trying to call the edit action results in the
show page being retreived from the cache.

I'm assuming this has to do with the similarity of the URL


Needless to say this is an annoyance as best (can't cache pages
associated with RESTful objects) to a pretty big bug at worst.


Andrew Selder

Check your rewrite rules perhaps? Rails has no control over how your
web server decides to use the cache or the proxy.