Forum: Ruby on Rails caches_action for ajax call

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.
359b7a7fc263382baee62d91c1e4c25e?d=identicon&s=25 Emanuele Tozzato (mekdigital)
on 2009-04-17 21:42
(Received via mailing list)
Hi all!
I have an action called app/xxx that correctly creates cache when
directly
hit, not when  invoked by an ajax call, but the ajax call will return
the
cached version of the action when cache is created. Should I change
approach
or do I have any parameter to pass to remote_function to trigger
chaching?

I'm using  remote_function(:update => "drawer-content", :url =>
drawer_content_path)

thx

--
Emanuele Tozzato
This topic is locked and can not be replied to.