Hi Everyone.
I have just uncommented this line in the environment.rb file :
config.action_controller.fragment_cache_store = :file_store,
"#{RAILS_ROOT}/cache"
And it all seems to work. Sorry.
Kind Regards
Hamza
Hamza Khan-Cheema wrote:> Hi,
>
> I have a strange problem. I have implemented fragment caching. I am
> pulling my delicious links to my site. I print out to the log every time
> it connects to delicious.
>
> From the logs I see that it is not using the cached fragment. It
> connects on every page load. This is running under Apache2 (ubuntu). I
> am using the default .htacess file that came with RoR.
>
> However when I run it under Web Brick I see that it is indeed using the
> cached page and has stored it "tmp/cache/"
>
> I understand that by default it stores the cache in the public folder.
> I have checked that it is not a permission problem.
>
> I would really appreciate any help with this problem.
>
> Thank you.
>
> Kind Regards
> Hamza
--
Posted via http://www.ruby-forum.com/.