Duration nginx cache FastCGI


I have enabled fastCGI cache by configuring it in hestia to have a duration of 365 days.


I have also added the cache control header with 365 days… And even though the expiration date is correct, at about the hour the cache is emptied.

I have a wordpress site with few urls that I would like to have in cache without it being cleared but I can’t figure out how to do it.

What could be happening?

FastCGI cache is currently set to reset after 30 min. So it has the advantage to be static for few minutes keeps refreshing it.

If you want to have it static use static files