Welcome Guest, Not a member yet? Register   Sign In
Caching in codeigniter
#1

[eluser]griser[/eluser]
I'm using caching in codeigniter app. How to sweep old cache files? Is codeigniter, create new cache files without deleting old ones?

Is there a way not to delete old cache files manually?
#2

[eluser]Eric Barnes[/eluser]
From the user guide:
Quote:If you no longer wish to cache a file you can remove the caching tag and it will no longer be refreshed when it expires. Note: Removing the tag will not delete the cache immediately. It will have to expire normally. If you need to remove it earlier you will need to manually delete it from your cache folder.

So either let them expire normally or write a method to remove all the cache files.
#3

[eluser]griser[/eluser]
I'm using caching in controller's function outputing vacancy items in the job portal. For example refresh every 520 minutes.

What I've got : tons of expired files of the same vacancy - what should I do? - manually clean the expired ones determining which ones are old? What is caching for then ?

Maybe I Shoul not cache such pages? Or what?




Theme © iAndrew 2016 - Forum software by © MyBB