We've just started using a system we've been using for you couple of years on other sites of ours...but not on our sites that use Toolset.
We are using WP All Import: hidden link
This doing its job, it creates exports based on what we add daily. Smaller import sites import specific data at a set time.
All works exactly as it should however on our Toolset grids, the images take their time updating.
This a grid where 4 properties were imported overnight: hidden link
First 4, (Birch House, 2 Remera, 7 Four Seasons, 8 Fernhill) the feature images aren't showing. Now after some time, they eventually do appear. However I have cleared the cache on the site and our browsers.
It is as if, Toolset is caching something itself, or???
- Is this affecting the page speed in anyway?
- If this is the correct thing to do, is there a way of making this work side wide rather than me having to edit 'every' shortcode?
Our views normally works better with caching especially if you are loading a lot of data. You can clear the view cache by going to Toolset -> Views and you should see the clean cache button.
Hope you are well. This I thought the case and disabling caching never usually something I ever wish to do.
The problem is, our sites now update daily...this all done using cron over night.
We can't go into every site and manually clear every View that these updates may effect...we'd be here for ages.
Also the 'clean cache' button does not come on.
So to be clear, our updates happen daily, 2AM. If we don't get to the sites, all of them and we'll have 10 shortly, first thing in the morning, visitors will see gird items with empty images...making the site in places look broken.
When it says: Toolset will manage this cache and clear it automatically
Are there no options, settings or clever code we can add than means we can set this ourselves.
It's not going to be practical moving forward to have to clear this manually, every day of the week.
Unfortunately the solution here is to leave the cache off as there isn't any option to specify the frequency of clearing the cache as well as to when the cache is cleared.
You will perhaps need to edit each of the view shortcodes and turn off the cache given that we don't have a solution for your specific requirements.
This annoying as I know the Toolset cache clears...the images aren't there initially however they appear later in the day...even if we do nothing.
So clearly something triggers the cache in Toolset, its just when!
Hmmm this isn't great. We can't be the only ones who use Toolset and update the site using WP All Import.
Goodness, there's always 'something' to battle with...more often with Toolset.
I've checked in our code to see if there is a way to assist here but I wasn't able to craft a solution for this one.
Perhaps what you can do is to create a feature request in the form below so that our development team can look at add some form of trigger API or better yet allow for custom scheduling for the cache clearing.
Yep, appreciate Toolset can't accommodate 'everyone' needs however clearing caches etc seems one of the more basics 🙂
That said we've worked around this. I will make a suggestion on Toolset...thanks for the link.