WP Super Cache Bug with Ubermenu

Im having a serious issue with WP Super cache and UberMenu. For some reason, every now and again, I will view my site, and it will have the default styling applied to ubermenu and then this unstyled version gets stuck in the cache and stays until I clear it.

I clear the cache, and my custom styling from my main stylesheet gets applied and everything is fine for a while. If i turn off caching, its fine. Any ideas what issue may be causing this?

Is there a way to exclude the CSS for the ubermenu from supercache?

Thanks
Andy

Solutions Collecting From Web of "WP Super Cache Bug with Ubermenu"

I’ve experienced the same issue. I’m not 100% sure yet if this is helping because it’s an intermittent issue, but as noted on the plugin author’s docs, this is a potential new fix for the problem:

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

UPDATE

As of version 2.3 of uberMenu, there is a fix the plugin developer created that I’ve found to work better.

<?php if( function_exists( 'uberMenu_direct' ) ) uberMenu_direct( 'primary' ); ?>

Note: primary is the theme location handle/ID/slug of your WP menu / uberMenu.

Source: http://sevenspark.com/docs/ubermenu-caching