Title: Autoptimize Cache Issue
Last modified: November 25, 2022

---

# Autoptimize Cache Issue

 *  Resolved [mojamba](https://wordpress.org/support/users/mojamba/)
 * (@mojamba)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-cache-issue/)
 * For anyone using Autoptimize, if you are aggregating JS files and extracting 
   JS from HTML, be aware that this Cloudflare Turnstile can cause your cache size
   to grow excessively large. That’s because a unique ID is used. I am not sure 
   if there’s any way the developer can address this – I think not – but you can
   add “cf-turnstile” to the “Exclude scripts from Autoptimize:” text box setting
   to prevent the relevant JS code from being optimized/aggregated.
 * Note to developer: although I doubt you can do much about this issue, you could
   improve pagespeed performance by using minified JS. It’s not a lot of code, but
   still it would help just a small amount.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Elliot Sowersby](https://wordpress.org/support/users/elliotvs/)
 * (@elliotvs)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-cache-issue/#post-16234043)
 * Thanks for the feedback, I’ll take a look into this.

Viewing 1 replies (of 1 total)

The topic ‘Autoptimize Cache Issue’ is closed to new replies.

 * ![](https://ps.w.org/simple-cloudflare-turnstile/assets/icon-128x128.gif?rev=
   2937121)
 * [Simple CAPTCHA Alternative with Cloudflare Turnstile](https://wordpress.org/plugins/simple-cloudflare-turnstile/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-cloudflare-turnstile/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-cloudflare-turnstile/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-cloudflare-turnstile/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-cloudflare-turnstile/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-cloudflare-turnstile/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Elliot Sowersby](https://wordpress.org/support/users/elliotvs/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/autoptimize-cache-issue/#post-16234043)
 * Status: resolved