Posted - 03/26/2023 : 06:42:37
I wondered if it was cache - we have just started using w3 total cache
They have an option: Never cache the following pages: wp-.*\.php index\.php proddetail\.php >>> Ihave added the last two. /.*proddetail.*
Always ignore the specified pages / directories. Supports regular expressions (See FAQ)
I have purged the cache and tested. first time through it is ok, closed the tab and started again and get the problem.
Can you suggest a "regular expression" that will encompass all product pages or do I need to raise it with W3
Their FAQ details
Examples (Never cache the following pages):
Do not cache page/directory and sub pages: /directory* Do not cache pages under a directory: /directory/.+ Do not cache pages that contain specific text: /.*text.* Do not cache pages that is named child in directories: .+/child Do not cache any pages named child */child Note: To disable page caching of specific theme templates or plugin files you need to add define('DONOTCACHEPAGE', true); to it.
I thought that your support team being so clever might just know the regular expression to use. Any suggestions I can try and test them.
Thanks Andrew
|