Welcome Guest, Not a member yet? Register   Sign In
Cache delete after update
#1

[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
#2

[eluser]beemr[/eluser]
Clear Page Cache
#3

[eluser]hykoh[/eluser]
thanks :-)
#4

[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 ???
#5

[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.




Theme © iAndrew 2016 - Forum software by © MyBB