• Resolved _beatrice_

    (@_beatrice_)


    It was discovered that when WP Rocket is actively set to Minify JS and Combine JS, the mobile version of the maps will not display, but the desktop works fine.

    To correct this, what are the excluded inline JS or JS files (for mobile) that I can set in the WP Rocket settings?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author DylanAuty

    (@dylanauty)

    Hi @_beatrice_,

    Thank you for getting in touch, we do appreciate your time. Since opening your thread have you resolved the issue?

    I just tested the site in both mobile and desktop and it does seem to be functioning normally at the moment.

    For those facing similar issues it is recommended you exclude the Google Maps API from being combined, which can be done by following this documentation:

    And adding a rule for:

    • maps.googleapis.com

    Combining the Google Maps API is most commonly the cause for a failed initialization as this file must be included remotely. In more extreme cases, a configuration may also alter the loading order of our plugin, which then requires additional exclusions, specifically related to plugin files.

Viewing 1 replies (of 1 total)
  • The topic ‘JS exclusion when using WP Rocket’ is closed to new replies.