Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Standard template don't refresh anymore

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
rayauger
Posts: 47
Joined: Tue 18 Jan 2011 9:36 pm
Weather Station: Davis Vantage Vue
Operating System: Window 7.0
Location: Canada

Standard template don't refresh anymore

Post by rayauger »

Hi all,

We use the Cumulus 1 latest release and had to change hosting server last week. Since then, we have to click the refresh button to get the lastest info. If not, we get the info from the last refresh. On top of that, the small images used on the Trend template don't refresh at all unless we clear the cache. Previously we did not have to do any of that and we are using the same template as before which are the basic ones. Same problem with Chrome, Edge, Firefox, on my phone, tablet...

The files and images on the server are updated. No problem there. Are we missing a file somewhere ? Setting in cumulus ?

You can see for yourself

http://station-meteo.epizy.com/index.htm

and check again in hour or so. For the small charts if is obvious the day after.

Thanks in advance for your help.

Yvan
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Standard template don't refresh anymore

Post by Mapantz »

The files and images on the server are updated.
If they were, the website would be too.

Either Cumulus isn't uploading them, or it's not processing the pages and it's uploading the same ones each time.

You'll have to zip up your diag folder and post it here.
Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Standard template don't refresh anymore

Post by beteljuice »

Is your new host using 'cloud' storage ?
That has a nasty habit of caching graphics for 3hrs on whatever route you entered by :?
Image
......................Imagine, what you will KNOW tomorrow !
rayauger
Posts: 47
Joined: Tue 18 Jan 2011 9:36 pm
Weather Station: Davis Vantage Vue
Operating System: Window 7.0
Location: Canada

Re: Standard template don't refresh anymore

Post by rayauger »

Thanks for the reply.

I use Infinityfree for hosting.

I tried two things this morning that confirmed it is something to do with Cache. If I am in Incognito mode = No problem. All pages and images are currents. Same if I am in the Developer mode as it disables the cache when open.

Again, in mornal mode, if I don't click refresh I will then get the last refresh. Could be 30min ago or 2 days ago. AND even if I click refresh all small images never get refreshed unless I clean the cache.

Thanks again for your help

Yvan
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Standard template don't refresh anymore

Post by beteljuice »

See this thread viewtopic.php?f=40&t=18188&hilit=image+cache

Try the possible solution on the last post - No promises !!!
Image
......................Imagine, what you will KNOW tomorrow !
rayauger
Posts: 47
Joined: Tue 18 Jan 2011 9:36 pm
Weather Station: Davis Vantage Vue
Operating System: Window 7.0
Location: Canada

Re: Standard template don't refresh anymore

Post by rayauger »

It is probably the problem. It juse makes sense. I would need to reconfigure the setup as I cannot modify the htaccess file on the server.

Thanks

Yvan
rayauger
Posts: 47
Joined: Tue 18 Jan 2011 9:36 pm
Weather Station: Davis Vantage Vue
Operating System: Window 7.0
Location: Canada

Re: Standard template don't refresh anymore

Post by rayauger »

I finally fixed the problem. thanks to beteljuice to point me in the right direction.

I used this line in the .htaccess file

Header set Cache-Control "no-cache, no-store, must-revalidate"

and that was enough.

And just make sure you name the htaccess file properly. It must have start with a dot. I did not realize it but when I downloaded the file to edit it, the dot was removed for whatever reasons thus rendering the file useless until I caught my mistake.
Post Reply