@khunmax Yes, you can set the cache expiration time in Comet Cache → Plugin Options → Cache Expiration Time, which will ensure that no cache file older than that amount of time is served to a visitor.
That should work fine with CF7, but as Comet Cache does not have any specific integration with CF7 I cannot say for sure. I recommend giving it a try. 🙂
Ram
Thanks for your reply.
After reading the following article:
https://myatus.com/p/wordpress-caching-and-nonce-lifespan/
I set the cache expiration time to 10 hours. (Because 12 hours is the max to not effect a nonce right??)
AND…i set the cache clean up schedule (garbage collection) to 3 minutes.
Do you foresee any problems with those settings??
Can I set cache clean up to more than 3 minutes??
Seems to be working ok on the site I mentioned with has a number of CF7 forms in its design including one in the footer on each page.
I have checked the source code on each page and I can see your green (comet cache is working script)…but how do I know if there is a resulting conflict with CF7 and the nonces it creates?
Kind Regards
Max
@khunmax Yes, those settings should work fine.
The best way to test of CF7 is working is to use the CF7 form on a page that’s cached. If it works without issue, then you should be good.
I have done that everything seems to be working.
But don’t I have to check some 24 hours into the future because that is when a nonce will fall over if it is going too?
Yes, but if you have your cache expiration time set to 10 hours, you will never have a cached file that contains a Nonce that’s more than 10 hours old.
I would like to set to 22 or 23 hours. But reading from the article that I link to above, I am of the understanding that to be safe you should have a time below 12 hours. Do you think that is correct? Or can I use 22 hours safely?