We've noticed that we have to clear the cache more often than in the past to get events to show up, and that it often take more than 30 seconds to get events to load on a calendar page. Is there anything we can do to improve performance on these pieces?
No events show up. Then we manually clear the cache in the WP dashboard and all the events show up again. But obviously this method won't work for an end user who doesn't have access to the dashboard.
We've noticed that we have to clear the cache more often than in the past to get events to show up, and that it often take more than 30 seconds to get events to load on a calendar page. Is there anything we can do to improve performance on these pieces?
Hi,
Are only the new events not showing or no events at all?
Stachethemes Developer
No events show up. Then we manually clear the cache in the WP dashboard and all the events show up again. But obviously this method won't work for an end user who doesn't have access to the dashboard.
Try following:
Open your theme/child-theme functions.php file and add this filter:
Then clear your cache one last time and check if the problem persists.
Stachethemes Developer