Welcome Guest, Not a member yet? Register   Sign In
Caching forever until the file has been edited by the backend
#3

[eluser]CroNiX[/eluser]
In addition to what Otemu suggested, which is what I do, after something is saved in the backend and the cache file deleted, I issue a file_get_contents(url) so that the cache gets rebuilt by hitting the url at that time instead of the next time someone visits the page (so it's always cached for visitors).


Messages In This Thread
Caching forever until the file has been edited by the backend - by El Forum - 02-15-2013, 09:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB