Js, css cookie excludes not working
-
I’m trying to get my cookie banner working with the caching plugin. I’m using this one: https://wordpress.org/support/plugin/cookie-notice/
I’ve set up various exclusion rules which I think are correct, but the scripts are still being cached as far as I can work out. Any help working out what is wrong would be appreciated.
Cache Settings here: https://imgur.com/a/FGzojXn
Exclusions here: https://imgur.com/a/KUu85PoI am seeing really inconsistent results – some examples of the css files in the same browser session (new opera browser, all cache and history cleared)
First view of home page shows 4 wpfc css files plus https://greystokegeek.co.uk/wp-content/plugins/cookie-notice/css/front.min.css?ver=5.8.1 (excluded as expected)
Cookies are accepted – this forces a reload of the page, which doesn’t use *any* of the wpfc files. From then on the site doesn’t use any of the wpfc files.
Other times I see all the css and js files being minimised without the exclusions being applied.
I do have cloudlflare on that site, but I have disabled it in case that was interfering with things and I still see the same behaviour.
The page I need help with: [log in to see the link]
- The topic ‘Js, css cookie excludes not working’ is closed to new replies.