phpmyadmin / scripts

Various scripts related to project
16 stars 19 forks source link

Daily snapshots not updated #18

Closed williamdes closed 5 years ago

williamdes commented 5 years ago

That makes several days that I am investigating why the daily snapshot is not up to date.

What I think is that CDN77 is not emptied.

phpMyAdmin 5.0+snapshot
Daily snapshot, generated 2019-03-09, from Git commit 30484fa5a52572e22892670fa446cc058f71d782.
phpMyAdmin 4.8+snapshot
Daily snapshot, generated 2019-03-09, from Git commit 85438d8dfdf3d33484cc821c32f12cd6c510ce3a.

This is currently not accurate since you can see below the last modified timestamps

william@williamdes:/$ curl -I https://files.phpmyadmin.net/snapshots/phpMyAdmin-4.8+snapshot-all-languages.zip?hash=1
HTTP/2 200 
date: Sun, 10 Mar 2019 12:32:22 GMT
content-type: application/zip
content-length: 9759464
last-modified: Thu, 21 Feb 2019 23:01:08 GMT
etag: "5c6f2db4-94eae8"
access-control-allow-origin: *
server: CDN77-Turbo
x-edge-ip: 185.93.2.20
x-edge-location: parisFR
x-cache: HIT
x-age: 869887
accept-ranges: bytes

william@williamdes:/$ curl -I https://files.phpmyadmin.net/snapshots/phpMyAdmin-5.0+snapshot-all-languages.zip
HTTP/2 200 
date: Sun, 10 Mar 2019 12:35:08 GMT
content-type: application/zip
content-length: 12122891
last-modified: Thu, 21 Feb 2019 23:03:34 GMT
etag: "5c6f2e46-b8fb0b"
access-control-allow-origin: *
server: CDN77-Turbo
x-edge-ip: 185.93.2.20
x-edge-location: parisFR
x-cache: HIT
x-age: 453783
accept-ranges: bytes
nijel commented 5 years ago

Should be fixed by https://github.com/phpmyadmin/website/commit/e46404515ff1f6b70eca57a8b63ea9da567afa11

ibennetch commented 5 years ago

What's odd about this is that it seems to work fine for me:

# curl -I https://files.phpmyadmin.net/snapshots/phpMyAdmin-5.0+snapshot-all-languages.zip
HTTP/2 200
date: Sun, 10 Mar 2019 12:55:26 GMT
content-type: application/zip
content-length: 12161084
last-modified: Sat, 09 Mar 2019 23:03:05 GMT
etag: "5c844629-b9903c"
access-control-allow-origin: *
server: CDN77-Turbo
x-edge-ip: 195.181.169.1
x-edge-location: newyorkUSNY
x-cache: EXPIRED
x-age: 1112063
accept-ranges: bytes
ibennetch commented 5 years ago

Wow, that's a fast response, @nijel. Thanks!

williamdes commented 5 years ago

@ibennetch did you see x-cache: EXPIRED vs x-cache: HIT for me ;)