Support » Plugin: Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps) » Please fix: only load plugin scripts on pages with maps

  • Hi – when trying to optimize site performance I noticed that the plugin’s scripts (1 external, 1 internal) are being loaded on all pages of the site, not just the ones with Leaflet maps. Can you fix this in the next version please? Thank you for a great plugin!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,
    thanks for the feedback – we are aware of this limitation in the free version. Cannot promise though that this will be optimized, as we are currently evaluating on how far we will can support the free version since our new major release Maps Marker Pro v4 is out and as free and pro now do not share any code anymore.
    best,
    Robert

    Thread Starter tnightingale

    (@tnightingale)

    Thank you for the quick response.
    Please consider the conditional script loading not as a plugin feature (as would be expected in a pro version) but rather as a “best practice” for all plugins.
    – Teresa

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Please fix: only load plugin scripts on pages with maps’ is closed to new replies.