Support » Plugin: SiteOrigin Widgets Bundle » [BUG] Autoptimize Cache is being messed up badly

  • Resolved silv3r.m00n


    So for the past few days, i was having some problems with autoptimize plugin and later figured out that it was being caused by SO.

    The discussion is here –

    What happens is that editing or rendering of 1 SO page causes the AO css cache of other SO pages to get deleted.

    At this point html caches like WP Fastest Cache send html files refering to the non-existant css file (deleted from AO’s cache by SO).

    I tried digging myself …

    The file : so-widgets-bundle/so-widgets-bundle.php

    // Add compatibility for Autoptimize.
    if ( class_exists('autoptimizeMain', false) ) {
    add_filter( 'autoptimize_filter_css_exclude', array( $this, 'include_widgets_css_in_autoptimize'), 10, 2 );
    add_action( 'siteorigin_widgets_stylesheet_added', array( $this, 'clear_autoptimize_cache' ) );
    add_action( 'siteorigin_widgets_stylesheet_deleted', array( $this, 'clear_autoptimize_cache' ) );

    I guess, if SO tries to delete AO cache, it MUST also delete all html caches like wp fastest cache, wp super cache, comet cache etc.

    Otherwise it should not touch AO cache.

    The problem is quite significant, for the time being i have modified the SO widgets bundle plugin and removed the AO part, since my entire website is being messed up.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Andrew Misplon


    Hi, thanks for reaching out. We’re investigating available options. I’ll get back to you as soon as I have an update in the week. Appreciate the feedback.

    Plugin Author Andrew Misplon


    Hi 🙂 Sorry to bother, just a quick follow-up to see if the Widgets Bundle update helped. Thanks.




    I have updated the widgets bundle on my site.
    Its working good so far. The problem did not occur yet.

    Plugin Author Andrew Misplon


    Thanks for the initial update. If there are any further developments, please let us know. Thanks for the feedback.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[BUG] Autoptimize Cache is being messed up badly’ is closed to new replies.