• Hello,

    I have a problem with menu, on theme Astra. Here is the problem I have, and I have managed to established that W3 TC is causing this.

    ISSUE:
    1. After the purge cache if the mobile version is firstly loaded, than on mobile menu is fine, but on desktop there is a blink in the menu.
    2. After the purge cache if the desktop version is firstly loaded, then on desktop menu is fine, but on mobile there is a blink of the full menu.

    I’m not using minification of the css and js in W3 TC.

    I know that it is a long shot, but does anybody have a clue how to solve this issue. It is driving me crazy.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • IR

    (@raagsinghdelhi)

    Hey Hi,
    There could be issue with JS /CSS file which is getting altered/merged/changed after minification/merging.

    The best thing you can do is try adding one by one JS files in the exception list and test if your issues resolves.

    In addition to that you can except your whole theme’s file from any modification by W3TC by adding under the exception list.

    I could be getting it wrong but when the page loads your PHP logic it seems its checking the user agent and sends a specific javascript (and/or CSS) for that platform type, but because w3tc caches the page then that js/css gets locked in with the cache.

    Sounds to me you need to use the User Agents tab of w3tc and possibly switch to the “disk” cache type (if u are using “disk enhanced”) so it can trigger the user agents checks. This way it will send the appropriate js/css files for that platform.

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

The topic ‘Problem with menu when W3 is activated’ is closed to new replies.