Scripting JSON import into TablePress
-
Is there a TablePress API method for importing JSON data into a table?
I have a set of tables which are populated by an external JSON source. The data tends to change once a week, but when it does I want to pull it in ASAP.
I currently use the Auto-import plugin, but that has the side effect that if I run it every 15 minutes, it causes TablePress to flushing the entire WP Super Cache (see earlier thread), which is killing my site performance.
I’m considering writing a cron job that will pull in the data on the irregular schedule that I need, so that I can keep the cache flushing to a minimum. Ideally, i’d like to keep using TablePress and the Auto-import plug-in as it’s really stable, and saves me hand-rolling a whole load of code.
- The topic ‘Scripting JSON import into TablePress’ is closed to new replies.