updates on FreshWDL?

Thank you for the kind words.
Just to clear that one point up, it will check for new data every five seconds and refresh if there is anything new to display. So, if you’re only getting refreshes every fifteen minutes, it is most likely because the data itself is only being uploaded at that rate.

-Yerren

Thanks Yerren - you would think so - that is what my WeatherDisplay Live site does - but the FreshWDL only updates every 15 minutes. Is there a newer version than 1.1.7.7?

Yes, every 15 minues out of the box. Running 1.1.7.7 - if there is a newer version that I can change to that if it has different settings I’m happy to upgrade if there is one. Trouble is your web site only has a date for the lastest version - not a version number.

What is the url ?

the update rate is based on how fast you have the clientraw.txt file updating

I’m afraid mine isn’t working that way - my Weather Display Live site (fugitive.net.au) updates ~ every 20 to 30 seconds or so. It is 15 minutes for FreshWDL site (fugitive.net.au/weather).

Your FreshWDL site updates every 5 seconds, at least it tries to read new data.
But the returned data is not updated that fast this url => http://fugitive.net.au/clientraw.txt => Bywong-NSW-6:03:09_PM
It is now 6:10 in your timezone, I think
Probably your webserver is set to cache .txt requests for 15 minutes to lessen the load on the server.

===
Your Weather Display Live site (fugitive.net.au) also request the same data, but in a different way, it adds a current-time to the request
http://fugitive.net.au/clientraw.txt?nocache=1564992963047
Therefor the data is refreshed much faster.

===
Just check how you specified the location of the clientraw.txt in FreshWDL.

Wim


Hi, if your WDL has live data, where is it getting it from? I cannot see any references to clientraw locations in wdlconfig.xml

Default WDL will load it from the same location as WDL.
See also my previous post from a few minutes ago.
Wim

Thanks Wim, this is why I am confused then if WDL is also using http://fugitive.net.au/clientraw.txt why it is getting live data as the timestamp in the data is only updating avery 10/15 minutes or so! Which is why I asked him how WDL is configured.

The nocache is added by WDL automatically, this is another site using “right-click => inspect => network”

http://weather-template.com/weather27x/uploadWD/clientraw.txt?nocache=1564994846370
http://weather-template.com/weather27x/uploadWD/clientraw.txt?nocache=1564994906529

The config is in http://weather-template.com/weather27x/uploadWD/wdl-en-config.xml

Wim

I see, so he will have to approach his host and ask for caching to be turned off?

There is a small other problem,
FreshWDL is downloading
=> every 5 seconds => OK
= = >all 4 clientraw files => definitely not OK, the other 3 files are big files.

The FreshWDL-javascript should only load the clientraw.txt file that fast. The other files are not updated that fast so they could be loaded every 5 minutes or so.
WDL only loads the clientraw.txt fast. All other files are loaded at the start and then again far later on.

Wim

I am using the same server for both WDL and FreshWDL, so I don’t know how it can be a server setting unless the FreshWDL config files need to be updated some how?

Per Wim’s post:

In other words WDL is coded to bust caching, apparently FreshWDL is not. Caching is going to be a problem for a frequently updated site, as advised above you could ask your host to turn it off, but if it is a very low cost host that may not be an option since they are minimizing server load. If you have access to the .htaccess file for your site you may be able to manage caching yourself.

I have access to the .htaccess file, at least I can see it and edit it. It is currently blank. What would be the entry that is required to do no-cache?

Or should that be an option for a later version of FreshWDL?

Beware, a badly constructed .htaccess can block access to the site.

These are the commands relevant to file expiration timing mod_expires - Apache HTTP Server Version 2.4

Your server defaults may override .htaccess

No worries niko, I’ll make a copy of it before I modify. I’ve got ftp and SSH access so I shouldn’t lose my site if I screw it up :slight_smile: Time to start reading and learning.

Well I set it up on a different domain as a subdomain - working like a charm. For some reason, even though my weather display live web site redisplayed quickly (10 to 30 seconds), my sub page (not a subdomain) would only update FreshWDL every 15 minutes (on crazydomains.com.au). All good now on my other domain using hostpapa.