Request for Code to Limit Full Cache Purges
-
Hi Folks,
I have my page cache lifespan set for 3 hours, and after 3 hours it is normally at about 3GB+ in size.However, as I post about 10 posts per day, during the day the cache rarely gets above 300Mb, due to the cache purging when I publish or save a post.
Can you please let me have a couple of lines of code to insert into my child functions.php so that the full cache does not completely empty when new posts are published or edited?
I think that may be make my cache more useful to site users during my working hours.
As I am a user not and can’t write code, I have tried to get AI to provide solutions, but none have worked.
Regards and thank you for your consideration,
Angus
You must be logged in to reply to this topic.