I am facing the same problem using timed_fragment_cache plugin.
And do all the steps i need to do.
it works fine for time being cache.
But for the left all it not work it expires.
Any Idea?
Arun A.
Carsten G. wrote:
Nick A. wrote:
Are you running in development mode? Did you set:
config.action_controller.perform_caching = true
in environments/development.rb
I was yes - this was an old question, but thanks for answering anyway
I am facing the same problem using timed_fragment_cache plugin.
And do all the steps i need to do.
it works fine for time being cache.
But for the left all it not work it expires.
I ended up choosing another approach. I am using the normal cache
system. Then I made a cronjob, that deletes the cache files after after
a certain amount of time.
Carsten, Just out of curiosity, Was that because of a limitation in
the plugin or you just wanted a cron based solution?
Are you using capistrano to setup that cron job? Cos otherwise it
seems like another bit to configure unless of course the plugin didnt
meet your requirements.
Carsten, Just out of curiosity, Was that because of a limitation in
the plugin or you just wanted a cron based solution?
Are you using capistrano to setup that cron job? Cos otherwise it
seems like another bit to configure unless of course the plugin didnt
meet your requirements.
Oh it was simply, that I never succeded in getting the fragments to
time-out and be rebuilt. After using 2 days on it, I had to quickly find
another solution.
Our site was suddenly having a LOT of requests due to a TV commercial so
I just had to get some cache to work quickly.