• Resolved nonbin

    (@nonbin)


    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

    (@nonbin)

    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)

    [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

    (@berkux)

    Hi,
    questions about the JCI PRO must not be answered here.
    Ask at
    https://jsoncontentimporter.freshdesk.com/widgets/feedback_widget/new?searchArea=no

    Thank you
    Bernhard

    • This reply was modified 2 months, 1 week ago by berkux.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.