If it first works and after a day it does not, the problem is almost certainly with the nonce (a kind of one-time-password that is valid for a limited time) being cached in the HTML.
Now the thing: Autoptimize does not do page caching, but when you clear AO’s cache most page caches are cleared as well. Check your page cache settings, most of the time limiting cache time to 8h fixes such nonce caching issues.
hope this helps,
frank
I change expire headers to 8h. But it also does not working.
I start topic in google reviews support forum. maybe you can contact them and solve problems together?
https://ww.wp.xz.cn/support/topic/this-plugin-and-autoptimize-plugin/
In my case google reviews still does not showing. If i clear cache – it showing normally.
Thx!
this is not about expire headers (webserver config), but about the time your page cache keeps the HTML in cache denorion . what page cache do you use?
Ohh! I see!
I use WP Super Cache.
And if i delete cache for one selected page – in this page google reviews start working!
I delete cache for this page https://sushiakami.ru/%D0%BA%D0%B0%D1%82%D0%B5%D0%B3%D0%BE%D1%80%D0%B8%D1%8F/%d0%ba%d0%bb%d0%b0%d1%81%d1%81%d0%b8%d1%87%d0%b5%d1%81%d0%ba%d0%b8%d0%b5-%d0%b7%d0%b0%d0%ba%d1%83%d1%81%d0%ba%d0%b8/
Other page i dont touch. In this page google reviews work fine, in other pages does not work.
Ok! Thank you! I will contact with
google reviews developer for fix this moment!
Thx!
OK, in Settings -> WP Super Cache -> Advanced you can set the “Cache Timeout” (in seconds), try setting that to 28800 (= 8h) maybe ?
Thx for help! I setup 28800 in WP Super Cache! All pages now work correctly! Thx!
And one more thing – Google Reviews plugin author will make plugin update – where i can disable nonce feature https://ww.wp.xz.cn/support/topic/this-plugin-and-autoptimize-plugin/#post-14974568
ThX for support!
🙂
you’re welcome, feel free to leave a review of the plugin and support here! 🙂
have a nice weekend!
frank