Update homepage daily method
-
An important portion of our homepage template generates some content based on the current date compared to a date field in custom posts, so we cannot cache it for longer than one day. We’d like the cache of the homepage to be purged (and ideally, rebuilt) once per day just after midnight.
Is the best way to do this by using the “Scheduled Purge URLs” (using simply “/” as the URL) and setting the time to 12:01 AM? (Rather than, say, setting the “Default Front Page TTL” to 1 day?)
Is there any way to purge just a portion of the page, rather than the entire thing?
Any recommendations for warming the cache of the homepage after purging it?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.