• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cache folder gets huge after few hours

Hello, I can't really understand how the /cache folder works... because it gets extremely huge (I'm talking about 200.000 files) in few hours, even if I've disabled it by placing 
in all my controllders' constructors.
Is there something else I must do to prevent all of those files to be created?
The best thing to start would be to totally disable it. Thank you!

If you don't want the controller to cache the page then do not include a call to output->cache. Any existing cache files for that page will eventually be deleted after they expire.

Yes, calling
has the same effect. But why waste time making a call that has no impact?

I am curious how you end up with such a huge number of files. Do your page requests utilize query strings and, if so, are there a lot of different query strings?

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

Users browsing this thread:
1 Guest(s)

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2018 MyBB Group.