• I have my HTML & XML expires header lifetime set to 86400.

    When a page is cached the ‘Expires’ value reports a 24 hour validation period.

    For example:
    Expires: 30 January 2018 13:33:44 now: 29 January 2018 13:34:03

    While the script (Cache_File_Cleaner.php) reports the following:
    Expires: 29 January 2018 14:33:44 now: 29 January 2018 13:34:03

    This reporting discrepancy is causing cached files to be deleted before they have expired. Is there another configuration setting that I’m missing which is causing the expiration time to be one hour instead of 24 hours?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kirkyedinak

    (@kirkyedinak)

    I’m was using Disk Basic for page caching. I have changed to OpCode WinCache since I’m on a windows server. Hopefully this will resolve the issue.

    Thread Starter kirkyedinak

    (@kirkyedinak)

    After selecting the Page caching method Opcode: WinCache I was able to get the option Maximum lifetime of cached objects in the Advanced section of Performance -> Page Cache. I set the value of that option from 3600 to 86400. I then changed the page caching method back to Disk Basic.

    Now the script (Cache_File_Cleaner.php) reports the same expiration date as the expiration date in the header.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Different values being reported for page expiration’ is closed to new replies.