Question about posts generated via import job
We’re running a daily import job that updates all of a custom post type “listing” on a site.
The import plugin does trigger functions like save_post programmatically, however, the cache is not cleared when the import runs, and the old listings are kept visible instead of the updated ones.
I can see all the folders for each post are correctly generated under cache/cache-enabler/domain.com/listing/, however they are not being recreated with the import.
Looking at the available hooks I am wondering which would be the ideal approach here to programmatically clear these html folders/files under cache/cache-enabler/domain.com/listing/ and wondering if you have any insight.
We could also clear the folders via php but for future compatibility, would prefer to use in-built Cache Enabler methods if possible.
Thank you! I am just starting to get acquainted with this plugin, but so far it’s looking like a very smart and nicely made solution 🙂
- The topic ‘Question about posts generated via import job’ is closed to new replies.