How long do webpages remain in CDN cache?




Wordpress LScache Plugin: How long do webpages remain in CDN cache?

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi, How long do pages remain in the CDN cache? I saw the response headers of a webpage loaded from CDN cache and it says the following: cache-control: no-store, no-cache, must-revalidate content-encoding: br content-length: 28180 content-type: text/html charset=UTF-8 date: Fri, 19 Jun 2020 13:17:31 GMT etag: 100842-1592572438 br expires: Thu, 19 Nov 1981 08:52:00 GMT So, the file is loaded from the CDN every time user requests it. However, my questions is different. I want to know how long the CDN keeps the webpage and other files in its own cache before getting a new version from the original server? Thanks. One more question: How long does LiteSpeed use the same critical CSS files? For example, if LiteSpeed generates critical CSS for a bunch of pages. Will it always keep using the same critical CSS? For example, will it keep using the same critical CSS after 2 days, 3 months or 2 years? Thanks. Hi, That may depends on your CDN provider , generally speaking , the dynamic page should not be cached at CDN , except QUIC.cloud CDN. the static resources are meant to be cached on CDN node , but for how long , it depends on your CDN provider , some provider just respects the cache-control header , some provider has a particular setting to set how long it is kept. As CCSS generation is expensive , and rarely changes , it CCSS wont expire on its own , only until you click purge CCSS Best regards, Thanks @CacheCrawler I am sorry for the confusion in above question. I was talking about the QUIC.cloud CDN cache when I asked how long are dynamic pages cached by the CDN. Hi, In case of QC , dynamic cache TTL should be same as your setting in Cache , as this screenshot https://i.imgur.com/AgE5pHc.png It will work as same as your local LiteSpeed Cache , whenever you update/post/edit something , it will call the purge , the purge will also clean the cache on QC node. Best regards,



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference