How to disable caching in Rails by IP address?

Posted by huacnlee on Stack Overflow See other posts from Stack Overflow or by huacnlee
Published on 2010-05-26T08:26:44Z Indexed on 2010/05/26 8:31 UTC
Read the original article Hit count: 185

Filed under:
|
|

I was used caches_page/caches_action for some page, it set expire in a time(1 hour or 1 day), I don't expire cache when the data updated.

When the editors create or update the content them can't view the new result in the page.

I want to disable the global caching when the visitor IP in my company.

How to do it?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about caching