caches_action for ajax call

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)