Page cache settings
-
Hi,
I’m testing how page cache works with Redis and Enhanced Disk mode. The settings seems to be a bit confusing. I tried to search for these but most of the answers found doesn’t actually seem to be valid while testing the settings.
REDIS PAGE CACHE
The expiry seems to be set by the Maximum lifetime of cache objects, although at the bottom of the page there is a note saying The TTL of page cache files is set via the “Expires header lifetime” field. I tried to change the Expires header lifetime for HTML but this didn’t have any effect.
Is this correct, that when using Redis this note at the bottom is not actually valid?
ENHANCED DISK PAGE CACHE
As the note says, Expires header lifetime should set the TTL for page cache. For testing I set the value to 10 seconds, but the page cache doesn’t seem to be creating a new cached html file for the page every 10 seconds.
Here’s a screenshot of the settings when using Enhanced Disk cache.

1. How does this actually work / what are we doing wrong as the 10s doesn’t seem to do the job?
2. What are the correct settings for both Redis and Enhanced Disk cache to keep pages cached in server for an hour, but without browser cache for html?
The topic ‘Page cache settings’ is closed to new replies.