I have a large GeoJSON file (now it is about 22MB with 4K polygons but it is going to contains about 10k polygons)
I load the file in Leaflet using L.GeoJSON.AJAX, on each feature I attach two handlers (click and contexmenu) and the puropose of the map si to select polygon read and edit some properties and save the selected polygon as project in a MySQL database.
When I load the map after loading the base polygons from the large file I load every saved project from MySQL database.
For now all works fine and It's quite fast but the GeoJSON file is going to grow so my question is: there is a better way to load the base polygon?
It will be faster If I store the base GeoJSON in the MySQL database?