• Hi,

    On a website with 1000+ markers I have a performance issue.

    When I have too many markers on my website, Google cannot crawl my website because it gets a 5xx Error from my server. I can reproduce that issue with Lighthouse. Opening the site in a webbrowser still works.

    Reducing the number of markers solves this issue. But I would like to show even more markers.

    I tried clustering, but it did not solve this 5xx error issue.

    Do you have an idea how I can speed up the website using more than 1000 markers? I have read that I need to use canvas, but I have no clue how to do that.

    Maybe the numer of shortcodes is too much. Do you know how to put all markers in one shortcode?

    Thanks for your help! ?

    Best regards

    Christian

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor hupe13

    (@hupe13)

    I don’t really have any idea. The error 500 comes from the main url. Do you see anything in the server logs?

    I noticed that the files are sometimes loaded from your domain with www and sometimes without www.

    Create a test page with the map only. Does this work?

    What is the source of the markers? 1000 times the leaflet-marker shortcode? Or do you get the values from a database and generate the shortcode? Then maybe it is possible to generate a geojson file instead.

    • This reply was modified 1 year, 1 month ago by hupe13.
    Plugin Contributor hupe13

    (@hupe13)

    Put in your .htaccess:

    AddType application/geo+json  geojson

    This solves the “XML-Verarbeitungsfehler: nicht wohlgeformt Adresse: …. Zeile Nr. 1, Spalte 1:”

    Thread Starter bomdiabrasil

    (@bomdiabrasil)

    Thanks for your support! The .htaccess change did not work. I guess I need to change the map first. At the moment I use 1000 times the marker shortcode. I will change that to the geoson file and see what will happen. I will let you know if that worked and post my solution here.

    Plugin Contributor hupe13

    (@hupe13)

    The .htaccess change did not work.

    Es l?st nicht DAS Problem, sondern einen anderen Fehler mit geojson-Dateien.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Performance issue with many markers’ is closed to new replies.