Active
Project:
IP Geolocation Views & Maps
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2016 at 13:57 UTC
Updated:
7 Feb 2016 at 06:44 UTC
Jump to comment: Most recent
Comments
Comment #2
rdeboerGood idea NWOM!
We should both look into the chunkedLoading option.
Rik
Comment #3
n20 commentedThat would be indeed a nice feature to have! Just looking at the moment for a solution to display 50k+ markers smoothly.
Comment #4
rdeboer@N20:
Before you get your hopes up too high... We are working in a Drupal context.
Personal experience has taught me that the limiting issue is not Leaflet, not Leaflet MarkerCluster, not Views, not the database, but the Field API.
For a better understanding and some relief, please read the entire project page and reference article https://www.drupal.org/project/views_accelerator
Comment #5
nwom commentedMy workaround currently is to use Panels Hash Cache. Basically, I set the Panel which contains the view to expire every 24 hours, and every night at around 2 AM I will create a cronjob that clears the cache from the page, and another job to recrawl it. The view used to take 8 minutes to load (uncached with Views Accelerator active), now only loads in 2-3 seconds (cached with Panels Hash Cache).
Comment #6
rdeboer@NWOM, #5
Thanks for sharing that tip.
The downside of that is that you cannot use a View/Map whose output/appearance depends on the visitor location or a filter value.
So it won't work for everybody.
But in your scenario, the gains are clearly huge.
Rik
Comment #7
nwom commented@RdeBoer
Yes it's definitely only a workaround in this case. Luckily though, you can set it up to cache depending on URL, Context, Query Strings, User, and User Role. It will then create a unique cached page based on every combination that is set. So it technically "could" work automatically for every scenario, but with an 8 minute load time (in my case), it would be a lot of work to go through and create a job that "re-crawls" every potential combination. Either way, I definitely recommend it as a caching solution for panels that don't have a unusually long load time.
Comment #8
rdeboerEnlightening!
Worthy of a blog post NWOM!
Rik