Support » Plugin: W3 Total Cache » Weather forecast showing yesterday's weather

  • Resolved Marteens



    I installed W3 Total Cache just a couple of days ago, so I am still new to this. I have a problem: on the footer-widget on my site, I have a weather forecast. And it normally (before installing w3 total cache) changed to the next day just some minutes after midnight. (like 00:02)

    Now, since it’s being cached, it’s showing yesterday’s forecast untill evening next day. So.. Is there a way to cache it, but then delete the cache let’s say at 00:05 every day? So during the day it’s being cached, but the next day it shows the forecast for that day..

    If not, how do I disable caching for the weather forecast without disabling it from the whole site?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Anyone? It’s still showing the weather from saturday, so I guess I’ll have to deaktivate W3TC for now. Please tell me if there is a way that I can keep both W3TC and the weather forecast widget. W3TC did really help for the speed of the site, so I’d love to be able to use it.

    Thank you!

    You can solve it by clearing all caches. However it is only a temporary fix. I think there is an issue with expired cache isn’t purged.

    Just go to performance and clear all cache – and go to the website and press F5 – that should work.

    I would see if a bug like that is reported – so the developers kan look into the matter.

    Good luck ; )

    Hi thomasoriis.

    Thank you for your answer. This will only be a temporary solution as you say. I’ll have to clear all caches every day to keep the weather updated.. If this is the only way, I guess I prefer not having W3TC activated. Thanks anyway 🙂

    Plugin Author Frederick Townes


    Not having W3TC activated will slow down your site obviously, try switching to a JavaScript-based weather plugin instead.

    Thank you for your answer. I will consider this option if my site becomes too slow. I am though very fond of my current weather forecast plugin, so I was hoping there was a way I could use both W3TC and that plugin.

    Try WP Widget Cache plugin.

    You can choose, per widget, whether and how long to cache. Any widgets that display frequently live content should be set to no value in the cache.

    I have used this successfully on several sites.

    Hi Gilligan! Thank you for your suggestion, I am now trying the WP Widget Cache plugin, and it seems very good. Of course this plugin is “only” caching my widgets, so now I’m not caching the main content of my pages. Surely this is way better than not caching anything at all (like I currently was doing), but if possible I would like to also cache my pages.

    Is there some way I can use W3TC (or another cache plugin for that sake) without caching my widgets? In that case this would be a perfect combination with the WP Widget Cache plugin.

    With the plugin called Widgets on Pages, I can put the heavy stuff from my pages (photos etc.) in widgets, and then cache it with the WP Widget Cache plugin that Gilligan recommended.

    For now this seems to be the best solution for me. Thanks again for the tip, Gilligan.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Weather forecast showing yesterday's weather’ is closed to new replies.