Support » Fixing WordPress » Cache a footer-widget for a short time period

  • Resolved Marteens

    (@marteens)


    Hi.

    Is it possible to cache my footer-widget for let’s say 5-10 minutes, so it doesn’t reload on every page? I use the same footer on every page anyway.

    Here is why I need it:

    I use Weather and Weather Forecast Widget, which is a great plugin for weather forecast. With the free API key, I do have limits on how many queries I can make. I can’t go over 10 in a minute or over 500 in a day.

    Now, since I have this in my footer on every page, I often go over 10 queries in a minute, and then my API key gets blocked for the rest of the day.

    So I was thinking.. If I somehow don’t have to make a new call for everytime I open a page, then my problem is solved. The wheater doesn’t change much in 5-10 minutes anyway. But how can I do this?

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Cache a footer-widget for a short time period’ is closed to new replies.