![]() |
Cache delete after update - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Cache delete after update (/showthread.php?tid=12967) |
Cache delete after update - El Forum - 11-06-2008 [eluser]hykoh[/eluser] Hello, i had a few questions about the cache class. I want to cache a page (e.g. an userprofile) ... but if the user changes his userdata i want delete the old cached page and make a new one. I think some of you already has solved this ? :-) Thanks for help Cache delete after update - El Forum - 11-06-2008 [eluser]beemr[/eluser] Clear Page Cache Cache delete after update - El Forum - 11-06-2008 [eluser]hykoh[/eluser] thanks :-) Cache delete after update - El Forum - 11-06-2008 [eluser]hykoh[/eluser] ok i tried now ... but there's something i cant solve ... the php script dont get parsed if cached (it make sense mh ?) so - how should I call this function to delete the cachefile ??? Cache delete after update - El Forum - 11-06-2008 [eluser]beemr[/eluser] wouldn't you just be calling it on form processing? after you update your data you'll have to pass it the uri string that you need to delete. You could also extract the uri from the referrer. |