Title: Autoptimize not compatible with cloudflare https2 prefetch
Last modified: February 6, 2018

---

# Autoptimize not compatible with cloudflare https2 prefetch

 *  Resolved [jiggaman](https://wordpress.org/support/users/jiggaman/)
 * (@jiggaman)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/autoptimize-not-compatible-with-cloudflare-https2-prefetch/)
 * Finding another possible issue with cloudflare plugin compatibility with the 
   http2 push
 * Cloudflare is generating files like this (with all the css files):
 * <link rel=”preload” href=”/wp-content/plugins/divi-booster/core/fixes/126-customizer-
   social-icons/icons.css?ver=2.6.8″ as=”style”>
 * Instead of using the files created via Autoptimize.
 * As a result…browser gives a bunch of warnings, and in addition the pre-load doesn’t
   do anything and is a waste of server computation and is just less efficient.
 * Wondering how we can get autoptimize to work with the cloudflare plugin
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fautoptimize-not-compatible-with-cloudflare-https2-prefetch%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/autoptimize-not-compatible-with-cloudflare-https2-prefetch/#post-9943910)
 * nah, that’s a problem with cloudflare’s plugin blindly adding prefetch links 
   for items in the script and style queues (which AO does not care for, it parses
   the HTML long after queue-stuff has been done to extract CSS/ JS), you can probably
   fix by disable a relevant HTTP/2 function in Cloudflare.
 * frank
 *  Thread Starter [jiggaman](https://wordpress.org/support/users/jiggaman/)
 * (@jiggaman)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/autoptimize-not-compatible-with-cloudflare-https2-prefetch/#post-9946340)
 * The cloudflare team makes reference to your plugin (looks like they are a fan)
   could I suggest something to them so that they detect the autoptimize items and
   use those for the prefetch instead?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/autoptimize-not-compatible-with-cloudflare-https2-prefetch/#post-9946349)
 * sure! they could hook into the `autoptimize_filter_cache_getname` filter which
   will return the autoptimized CSS and/ or JS URL’s, if those are present they 
   could prefetch those and drop using items in the WordPress’ css & js queues. 
   I’d be happy to assist them if needed!
 *  Thread Starter [jiggaman](https://wordpress.org/support/users/jiggaman/)
 * (@jiggaman)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/autoptimize-not-compatible-with-cloudflare-https2-prefetch/#post-9949579)
 * Thanks for the quick response, I will make note of this thread on the post I 
   made: [https://wordpress.org/support/topic/http-2-server-push-not-working-with-autoptimize/](https://wordpress.org/support/topic/http-2-server-push-not-working-with-autoptimize/)
 * hopefully they will review, and if you want to chime in on there and give it 
   a >> bump <<
 * …maybe they will respond faster!
 * Thanks!
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/autoptimize-not-compatible-with-cloudflare-https2-prefetch/#post-9956103)
 * closing here, will follow up on [https://wordpress.org/support/topic/http-2-server-push-not-working-with-autoptimize/](https://wordpress.org/support/topic/http-2-server-push-not-working-with-autoptimize/)
   if/ when they respond 🙂

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

The topic ‘Autoptimize not compatible with cloudflare https2 prefetch’ is closed
to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/autoptimize-not-compatible-with-cloudflare-https2-prefetch/#post-9956103)
 * Status: resolved