Support » Plugin: W3 Total Cache » How does page cache expire?

  • Hello,

    Do HTTP headers affect page (not browser) cache?

    There is the “Garbage Collection Interval” parameter, which affects how often expired cache data is removed. If it is set to 3600 sec, does that mean that page that cached more than an hour ago will be removed from the page cache?

    When we update a page, is it purged from the page cache automatically?


Viewing 1 replies (of 1 total)
  • Ben


    HTTP headers do not affect the cached file on the server.
    They just tell the clients browser “hey, the page you have cached is still the same, you don’t need to load it again”.

    “Garbage collection interval” means, that sometimes you have a cached file on your server, which is not needed anymore, e.g. a site was cached with a long lifetime and you deleted the page in wordpress but the file is still on the server. The garbage collector removes such a file.

    “When we update a page, is it purged from the page cache automatically?” if I remember me correctly, it depends on a setting.

Viewing 1 replies (of 1 total)
  • The topic ‘How does page cache expire?’ is closed to new replies.