Title: Force cache refresh
Last modified: September 13, 2024

---

# Force cache refresh

 *  Resolved [nonbin](https://wordpress.org/support/users/nonbin/)
 * (@nonbin)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/force-cache-refresh-3/)
 * My api is super slow (like 5-10 seconds) so I’d like to set my cache time to 
   1week and use a cron job to force refresh every few hours.
 * Is there a way to tell the shortcode to bypass the cache?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [nonbin](https://wordpress.org/support/users/nonbin/)
 * (@nonbin)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/force-cache-refresh-3/#post-18012231)
 * I think I’ve got something, though it doesn’t feel very satisfying, and it wastes
   an extra second per template (I have 4 to load)
 *     ```wp-block-code
       [jsoncontentimporterpro nameoftemplate="trendData" cachetime=1 urlgettimeout=1][jsoncontentimporterpro nameoftemplate="trendData"][jsoncontentimporterpro nameoftemplate="stockData" cachetime=1 urlgettimeout=1][jsoncontentimporterpro nameoftemplate="stockData"][jsoncontentimporterpro nameoftemplate="speciesData" cachetime=1 urlgettimeout=1][jsoncontentimporterpro nameoftemplate="speciesData"][jsoncontentimporterpro nameoftemplate="spatialData" cachetime=1 urlgettimeout=1][jsoncontentimporterpro nameoftemplate="spatialData"]
       ```
   
 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/force-cache-refresh-3/#post-18015026)
 * Hi,
   questions about the JCI PRO must not be answered here.Ask at[https://jsoncontentimporter.freshdesk.com/widgets/feedback_widget/new?searchArea=no](https://jsoncontentimporter.freshdesk.com/widgets/feedback_widget/new?searchArea=no)
 * Thank you
   Bernhard
    -  This reply was modified 1 year, 8 months ago by [berkux](https://wordpress.org/support/users/berkux/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Force cache refresh’ is closed to new replies.

 * ![](https://ps.w.org/json-content-importer/assets/icon-256x256.png?rev=3464653)
 * [Get Use APIs - JSON Content Importer](https://wordpress.org/plugins/json-content-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-content-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-content-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/json-content-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-content-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-content-importer/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)

 * 3 replies
 * 2 participants
 * Last reply from: [berkux](https://wordpress.org/support/users/berkux/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/force-cache-refresh-3/#post-18015026)
 * Status: resolved