On 1/31/07, Andrew Selder <aselder-ee4meeAH724@public.gmane.org>
wrote:>
> 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
>
> myhost.com/xxx/1
>
> vs.
>
> 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.
--
Rick Olson
weblog.techno-weenie.net
mephistoblog.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---