Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 1 to 4 of 4

Thread: File Cache Beta

  1. #1
    Senior Member
    Join Date
    Feb 2010
    Posts
    210

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

  2. #2
    Senior Member
    Join Date
    Feb 2010
    Posts
    210

    Default

    Anyone?

    The message you have entered is too short. Please lengthen your message to at least 10 characters.

  3. #3
    MichaƂ Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    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

  4. #4
    Senior Member
    Join Date
    Feb 2010
    Posts
    210

    Default

    Excellent explanation, understand now, thanks.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •