Some changes - caching/CDN
Post by iconPost by zezo | 2020-11-27 | 08:08:42

Hi,

I've been tuning the network performance recently and made some small changes few days ago

1) Contents of the main chart page is now compressed. That should actually improve performance on slow links - size down from 70k to 10k

2) Better caching logic for the winds during the update. They were reloaded after every partial GRIB download. This was wasting a lot of traffic because the total file size is about 800k.

No complaints so far, so I guess it works.

commenticon 10 Comments
Post by iconPost by zezo | 2020-11-27 | 08:11:50
Today I will be testing a CDN/(hosting/caching) the static chart images and wind data on another server.

Please drop me a note if you see some anomaly like missing map tiles or wrong/missing wind display (persisting after 5 minutes and one F5 page reload ;-). The routing itself won't be affected.
Post by iconPost by kalle | 2020-11-27 | 08:18:39
Good luck:). We will look forward to it.
Post by iconPost by Inicio | 2020-11-27 | 09:33:06
OK
And thanks!

Post by iconPost by MikeFloutier | 2020-11-27 | 09:50:27
Hi, I�m looking at my VG chart. It seems to be calculating the suggested route ok BUT it�s not displaying the wind icons or the red, blue and green lines that emanate from the starting position.

Many thanks for all your great work!

Ps also, the rectangular box is displaying the suggested heading and twa (looks ok) BUT the winds are alway 0 deg, -0.54kts on my iPhone and 180 deg, 2kts on my iPad, both on Safari and Chrome ALSO Chrome on Windows


Oh, and no land!

ALL LOOKS OK NOW, AMAZING THANK YOU!



Post by iconPost by zezo | 2020-11-27 | 10:18:58
Thanks the bug report.

I reverted the changes. Looks like known safari problem. Also it does not work on my old iPad, even with the original URL, so I might have broken something else too.

I'll try to find a workaround or make it conditional and exclude safari before trying again.


Post by iconPost by MikeFloutier | 2020-11-27 | 10:21:58
It was the same on Chrome both on Idevices AND desktop

Thanks again!
Post by iconPost by zezo | 2020-11-27 | 10:38:57
Then the CDN might be acting funny. I'm just playing around with a free service.


Please (everybody) add a note if the image below is missing.


Post by iconPost by Inicio | 2020-11-27 | 10:38:15
GRIB now is

GFS:00Z+

It's normal?
Post by iconPost by zezo | 2020-11-27 | 10:40:40
That's normal. 6z+189 hours. But that won't be affected by the CDN anyway.
Post by iconPost by urbicande | 2020-11-27 | 12:25:28
Thanks Cvetan for the work !
border
Topics list
Posts
border
5
border
border
Copyright 2009 by ZEZO.ORG. All Rights Reserved.