Set 2 different TTL for Public Pages
-
Hi, my wordpress website (approx 5000 pages currently developing on localhost) behaves pretty much like a static website, every page is exactly the same for every user, there’s no login feature and no personalized pages.
I can cache everything in Public Cache with 604800 TTL and that’s perfectly fine, BUT, I have a bunch of pages (approx 100 pages) that I absolutely have to set at a 1800 TTL (30 minutes).
How do I do this?
I was thinking about putting these 100 pages urls into the “Private Cached URIs” box to have them cached as private, and set the TTL for Private Cache to 1800, but I’m not exactly sure about what might happen. Let’s say in that 30 minutes timespan a thousand visitors visit a specific page in this 100 pages group (let’s call it page number 3):
Will I have this specific page being cached for every visitor, ending up with a thousand page number 3 being created (not what I want), or will I have this specific page being cached just one time and served to all the thousand visitors (exactly what I want)?
Basically I want to have Public Cache behaviour for all the pages in my website (same cached page being served to all the visitors with 604800 TTL), but I need 1800 TTL for a special group of pages that are exactly like the other pages, but only differ due to the fact that need a 1800 TTL.
I’m waiting for a reply and thank you in advance for your help and support.
- The topic ‘Set 2 different TTL for Public Pages’ is closed to new replies.