• Resolved cmegown

    (@cmegown)


    Check us out: https://www.zywave.com

    We’re running W3TC and a responsive drop-down menu plugin called UberMenu. Every 3-5 days, the menu fails and displays as a simple list void of any styling – which is obviously not good. We’ve tried turning off minification in a number of different ways and combinations, and this morning, we just turned off minification completely.

    We’ll be monitoring the site to see if this at least solves the problem for now, but some feedback and support here would be incredibly valuable – even if it’s not from one of the developers! We’re pretty much out of ideas here.

    Feel free to post questions and I’ll do my best to answer what I can.

    Thanks!

    https://www.ads-software.com/extend/plugins/w3-total-cache/

Viewing 6 replies - 16 through 21 (of 21 total)
  • I’ve been using WP Super Cache and Ubermenu successfully together without any issues using this in my code:

    <!-- mfunc wp_nav_menu(); --> <?php wp_nav_menu(); ?><!-- /mfunc -->

    This is mentioned in an updated: https://wpmegamenu.com/help/#faqs

    Potential Solution

    One potential solution is to use the caching plugin mfunc functionality. For example, in WP-Super Cache this may help (different plugins may use different syntax, check your caching plugin’s documentation for details on “dynamic caching”)

    Thanks @darkhorse20, your feedback on this thread is very helpful.

    I was incorrect in my previous reply. Did another line by line compare of the source code of a “bad” and “good” page and indeed for the “bad” pages, the cache is not generating the Ubermenu specific html markup, hence the crappy looking menu.

    What I don’t understand (and haven’t had time to investigate), is why aren’t the cache plugins not catching the Ubermenu html markup and caching that, but caching the default WP menu markup instead? Is it because that particular page was loaded in an incompatible browser (i.e. IE6 or IE7) where Ubermenu doesn’t load at all? Or is it related to how Ubermenu is implemented (therefore cache being created before Ubermenu has been initialized in some cases)?

    The mfunc solution looks legit and I will try that, but my end goal is to remove Ubermenu completely and write my own clean markup instead.

    Hello all,
    It looks like he released an update for this plugin. Go ahead and head over to Code Canyon and grab the updated version. He also has a new docs website regarding this:
    https://sevenspark.com/docs/

    This specific article may help:
    https://sevenspark.com/docs/ubermenu-caching

    It looks like he has a new function that you can drop in (replacing the current call to the wp_menu)
    <?php uberMenu_direct( 'primary' ); ?>

    Keep in mind you have to use the updated plugin to use that function. I am still working through getting the styles ported over locally before moving it to a development environment.

    Just to update,

    I was able to get this in place and working. So far so good!

    Good stuff, thanks for sharing.

    Hi all,
    I am currently using:
    uberMenu_easyIntegrate(); ?>
    to integrate Ubermenu, so should:
    <?php uberMenu_direct( ‘primary’ ); ?>
    replace this once updated to latest version? Thanks
    Incidentally my theme breaks every 3-5 days and minification is not even enabled!

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘[Plugin: W3 Total Cache] W3TC minification fails every 3-5 days’ is closed to new replies.