View Full Version : File Cache Beta
Can someone explain, if i set the file cache to cache pages for 1 hour (86400 seconds) then why does the cron run once a day to remove them.
Surely the pages are cached for 1 day if the cron runs every 24 hours?
If i set pages to be cached for 1 hour they must be removed once an hour has passed. So the cache for that page can start over.
It doesnt really make sense to me.
Anyone?
The message you have entered is too short. Please lengthen your message to at least 10 characters.
It is all OK. Please note that Guest Cache do not remove the file every time it expires - that would be too expensive. Every time when Guest Cache discovers that appropriate cache file already exists it checks last modification date and that how we know does it expired or not. If not then file is streamed as result. If yes, then request is evaluated and after that we overwrite the file without additional and unnecessary removing operation.
Daily cleaning is to assure that there is no any really old unnecessary file - like for threads which already do not exists. So we remove old files daily, but always check does cache is not expired :)
Excellent explanation, understand now, thanks.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.