Autoptimize enhancement: feedback wanted

screenshot of the page/ post autoptimization settingsI’m in the process of adding a per page/ post option to disable Autoptimization.
In the current state of this work in process one can disable Autoptimize entirely on a post/ page or disable just JS optimization as you can see on the screenshot.
Now my question to you, Autoptimize user, is; what other options of below list _have_ to go in that metabox taking into account the list should be between 3 and 5 items long?

  • CSS optimization (which includes Critical CSS)
  • Critical CSS usage/ Inline & defer CSS
  • HTML optimization
  • Image optimization
  • Image Lazyload
  • Google Font optimization
  • Preload (from “extra” tab)
  • Preconnect (from “extra” tab)
  • Async (from “extra” tab)

12 thoughts on “Autoptimize enhancement: feedback wanted”

  1. Agree with Grzegorz. I don’t see a need for per page disable. If a page doesn’t work with AO, its written wrong. But I do have the critical CSS auto subscription. Maybe if I didn’t have that I would care more.

    Reply
  2. I implement websites for other people. I love that Autoptimize is a β€œset and forget” plug-in that doesn’t require my clients to think or know about it at all. It just works!
    So my biggest wish would be to NOT have such options appear for every page. In other words, a global option to disable page-level disables (preferably so that page-level disables are not offered by default).

    Reply
    • hey Kim; this code snippet will disable the option to appear, it is also set add and forget πŸ˜‰
      add_filter('autoptimize_filter_enable_meta_ao_settings','__return_false');

      Reply
  3. For me I’d love to see the ability to switch on/off lazy loading and to switch on/off which images are preloaded/excluded on a per page/post basis – everything is good πŸ™‚

    Reply
  4. I’d love to have some critical CSS options per page or post. WP Rocket has a similar feature but I don’t like the results, so I do it manually with code snippets and AO. To have the possibility to add critical CSS inside the post editor would definitely speed up the process!

    Reply
  5. I’ve been using the add-on for a long time, it’s really good.
    Would it be possible to add a function that automatically clears the cache at certain intervals or when there is a certain amount to be deleted (%)?
    Greetings from cold Finland! πŸ™‚

    Reply
    • There is no reliable way to remove the AO cache without clearing all page caches, but as AO does not know about what page cache(s) you (and your host) might have, clearing AO’s cache could result in broken sites which we want to avoid πŸ˜‰
      In case of cache size issues (which are an indication of even bigger problems), the best way forwards is to configure AO in such a way that the cache does not grow that fast. Disabling “also aggregate inline JS” and/ or “also aggregate inline CSS” is a first step to do so πŸ™‚

      Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.