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

On 1/31/07, Andrew S. [email protected] wrote:

show page being retreived from the cache.
associated with RESTful objects) to a pretty big bug at worst.

Thanks,

Andrew S.

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


Rick O.
http://weblog.techno-weenie.net
http://mephistoblog.com