[Gelöst] How can I cache Views-generated Google Maps markers javascript?
The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created vor 7 Jahre, 8 Monate. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
I am trying to cache the javascript array generated by Views to be displayed on Google Maps. I'm generating the array from 1000+ posts and new posts are added only a few times per week. Thus the javascript array should be cached, not re-generated on every access. How would I go about doing this with Toolset/Views? Any advice would be appreciated.
Hi Luoy, yes, that's what I doing already post view-generation. The general site cache runs every 1 hour. What I need in this particular case though is to run the the view query only once per 24h. How would I achieve this? Thanks.