RESTful Resources/ Caching Issue?

Hi,

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 script.

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

http://www.myhost.com/xxx/1

vs.

http://www.myhost.com/xxx/1;edit

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

Thanks,

Andrew Selder

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