Title: This plugin and autoptimize plugin
Last modified: October 14, 2021

---

# This plugin and autoptimize plugin

 *  Resolved [denorion](https://wordpress.org/support/users/denorion/)
 * (@denorion)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-autoptimize-plugin/)
 * Please test your plugin with autoptimize plugin. It work only first time. On 
   next day google reviews does not show. I need clear cache. After that – reviews
   shown again.
 * I add plugins/wp-reviews-plugin-for-google, cdn.trustindex.io to exclude filter
   and uncheck minifing excluded files box in misc option
    [https://yadi.sk/i/HMWCvg4ysZotVw](https://yadi.sk/i/HMWCvg4ysZotVw)
 * Please help!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fthis-plugin-and-autoptimize-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Trustindex](https://wordpress.org/support/users/trustindex/)
 * (@trustindex)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-autoptimize-plugin/#post-14971615)
 * Hello!
 * The widget is there, but something puts a `display: none` inline style to that
   element:
    [https://snipboard.io/wNTKAe.jpg](https://snipboard.io/wNTKAe.jpg)
 * We will check it and I will get back to you, soon!
 * Tom
    Trustindex
 *  Thread Starter [denorion](https://wordpress.org/support/users/denorion/)
 * (@denorion)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-autoptimize-plugin/#post-14973325)
 * I start topic in autopimize support forum. [https://wordpress.org/support/topic/this-plugin-and-widgets-for-google-reviews-plugin/](https://wordpress.org/support/topic/this-plugin-and-widgets-for-google-reviews-plugin/)
 * Please take a look.
    I set up ExpiresByType to 8h. But this is not work. Google
   reviews doesnot showing. [https://yadi.sk/i/7giyPYfce3j_lg](https://yadi.sk/i/7giyPYfce3j_lg)
 * I have error on pages where google rviews does not work/shown [https://yadi.sk/i/RXgO_tMTZx3w0A](https://yadi.sk/i/RXgO_tMTZx3w0A)
 * I think problem in security key when your plugin tring get access by ajax request.
   
   Security ker work fine first time, after clearing cache. But after some time 
   security key expires and i got ajax error.
 * I dont understand how to fix this problem…
 *  Thread Starter [denorion](https://wordpress.org/support/users/denorion/)
 * (@denorion)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-autoptimize-plugin/#post-14973532)
 * Hello one more time! Here is update for my question [https://wordpress.org/support/topic/this-plugin-and-widgets-for-google-reviews-plugin/](https://wordpress.org/support/topic/this-plugin-and-widgets-for-google-reviews-plugin/)
 * I also use WP Super Cache. I cant disable this plugin. If i disable it – woocommerce
   work very slow. every page opens too long time.
 * I copy part of my message from autoptimize forum to here.
 *     ```
       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.
       ```
   
 * The problem was not with the Autoptimize, but with the WP Super Cache.
 * WP Super Cache is caching pages my site.
 * Your plugin is very useful, but it does not work with WP Super Cache…
    How can
   i fix this problem?
 *  Plugin Author [Trustindex](https://wordpress.org/support/users/trustindex/)
 * (@trustindex)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-autoptimize-plugin/#post-14974568)
 * Hello,
 * [@optimizingmatters](https://wordpress.org/support/users/optimizingmatters/) 
   said right… The problem is about the nonce (+ cache plugin). It is a security
   feature and your cache plugin (WP Super Cache) saves it, so (in the background
   processes) it will not have the actual value, but the old (cached) one…
 * Some solution:
    – do not use cache on that page – Maybe WP Super Cache will provide
   a solution for that later… But the problem persist in other plugin’s cases as
   well (ie.:[https://wordpress.org/support/topic/invalid-nonce-error-in-login-register-page/page/2/](https://wordpress.org/support/topic/invalid-nonce-error-in-login-register-page/page/2/)),
   so … – WP Rocket is an other cache plugin, and it can solve this for you: [https://docs.wp-rocket.me/article/975-nonces-and-cache-lifespan](https://docs.wp-rocket.me/article/975-nonces-and-cache-lifespan)–
   Our next version of the plugin will have an option, where you can switch off 
   that nonce feature. Wait for the v7.3 ( it will arrive in 10 business days )
 * Feel free to write to us if you need further assistance,
    Tom Trustindex
 *  Thread Starter [denorion](https://wordpress.org/support/users/denorion/)
 * (@denorion)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-autoptimize-plugin/#post-14975108)
 * Its awesome! Thx for support and fast fix!! I will wait update!
    🙂
 *  Thread Starter [denorion](https://wordpress.org/support/users/denorion/)
 * (@denorion)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-autoptimize-plugin/#post-14993309)
 * Hello again! I updated plugin to last version. Its no more error with nonce option.
   But reviews does not showing after several time.
 * On pages where page is older then 55000 or 56000 dont know for sure. – google
   reviews does not shown. on that pages something added display:none for block 
   on this screenshot [https://yadi.sk/i/vYaTAS8uf4R88Q](https://yadi.sk/i/vYaTAS8uf4R88Q)
 * But if i clear cache for that pages – google reviews start showing correctly.
 * I took notes on several pages
    [https://yadi.sk/i/JxQQHX0XX0GbFA](https://yadi.sk/i/JxQQHX0XX0GbFA)
 * page age
    67596 display:none 74944 display:none 68446 display:none 70408 display:
   none 66395 display:none 101288 display:none 59852 display:none 50156 ok 54964
   ok 50877 ok 50886 ok 50742 ok 36123 ok 19717 ok
 * I dont understand why.
 * Please help!
 *  Plugin Support [tomwolf](https://wordpress.org/support/users/tomwolfhun/)
 * (@tomwolfhun)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-autoptimize-plugin/#post-15021157)
 * At the troubleshooting tab, please switch off the use ‘nonce’ option.
    Whats 
   the result?
 *  Thread Starter [denorion](https://wordpress.org/support/users/denorion/)
 * (@denorion)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-autoptimize-plugin/#post-15021178)
 * Oh! I am sorry. I updated plugin, but forgot disable nonce function.
 * Now all work fine!!! Thx!)
 *  Plugin Support [tomwolf](https://wordpress.org/support/users/tomwolfhun/)
 * (@tomwolfhun)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-autoptimize-plugin/#post-15024754)
 * Super!
 * Case closed.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘This plugin and autoptimize plugin’ is closed to new replies.

 * ![](https://ps.w.org/wp-reviews-plugin-for-google/assets/icon-256x256.png?rev
   =2721569)
 * [Widgets for Google Reviews](https://wordpress.org/plugins/wp-reviews-plugin-for-google/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-reviews-plugin-for-google/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-reviews-plugin-for-google/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-reviews-plugin-for-google/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-reviews-plugin-for-google/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-reviews-plugin-for-google/reviews/)

## Tags

 * [nonce](https://wordpress.org/support/topic-tag/nonce/)

 * 9 replies
 * 3 participants
 * Last reply from: [tomwolf](https://wordpress.org/support/users/tomwolfhun/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/this-plugin-and-autoptimize-plugin/#post-15024754)
 * Status: resolved