Skip Navigation

[Resolved] Maps caching doesn’t seem to work correctly

This thread is resolved. Here is a description of the problem and solution.

Problem:

How to use Toolset map cache?

Solution:

You can follow our document to setup the map address cache:

Relevant Documentation:

https://toolset.com/course-lesson/data-caching-for-maps-addresses/

This support ticket is created 2 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 3 voices.

Last updated by patrickF-7 2 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#2350441

Tell us what you are trying to do? on different site pages I show a map with a set of resources around a property (with a distance search). It works but the load is slow (doesn't seem to come from a cache)

Is there any documentation that you are following? Your online documentation, your forum and examples provided

Is there a similar example that we can see?

What is the link to your site?

#2350701

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

What in particular is slow? Loading the page in the first place, or performing a distance-based search?

Maps retains a cache of addresses to avoid pinging the Google (or Azure) maps API repeatedly, and Views have caching, but that is not effective with dynamic search parameters (e.g. based on location).

Is there a page where we can see the problem? I tried to visit your site but it is password protected.

Let me set up a private reply in case you want to provide site credentials.

#2351305
map-loading.jpg

Hello,

I can login into your website, and have tried these:
Open URLs:
- hidden link
- hidden link
The page loading time is about 1 second, see my screenshot map-loading.jpg

Is this issue resolved? or is there any missing steps?

#2351465

Hello Luo Yang, thanks for your tests. I have the feeling that the map generation is slower than it use to be, and I tough it was in a cache, so it should be more or less as fast as a picture to charge. Could you please confirm my settings are rights to have an optimal usage of the Toolset map plugin ? Thanks in advance for your help.

#2351475

Since your website is using 20+ plugins and a custom theme, I do think the 1~2 seconds loading time is reasonable, and your map settings are correct, I don't think you need change anything.

#2351587

My issue is resolved now. Thank you!