Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed location of count.min.js? #71

Closed
betaveros opened this issue Dec 2, 2019 · 7 comments
Closed

Changed location of count.min.js? #71

betaveros opened this issue Dec 2, 2019 · 7 comments
Labels

Comments

@betaveros
Copy link

It looks like the old site code used a script at //static.goatcounter.com/count.min.js, but when I check my site code now it uses //gc.zgo.at/count.min.js and the old script URL is 404ing. Was this intentional? Was there some kind of notification about the change? I think a bunch of recent stats are missing from my sites because I didn't realize the site code had changed and didn't update my static sites...

@arp242
Copy link
Owner

arp242 commented Dec 2, 2019 via email

@betaveros
Copy link
Author

Weird, it's back up now... I'll leave this open in case it's something you can investigate later or something somebody else notices, but I guess it's resolved.

@arp242
Copy link
Owner

arp242 commented Dec 3, 2019

Yeah, I fixed it yesterday: 16af9c8 – I had a lot of stuff going on and didn't have time to update the issue.

The problem was that I updated the static host to gc.zgo.at in the config, and that caused it to stop serving the old static.goatcounter.com :-( You should probably use the new domain btw, since it'll be faster for visitors.

Getting better testing for these kind of end-to-end issues is one of the major things I'd like to do before "1.0" and removing the beta label.

@arp242 arp242 closed this as completed Dec 4, 2019
@arp242
Copy link
Owner

arp242 commented Dec 6, 2019

Oh, and the reason this wasn't noticed immediately is because the Varnish cache has an expiry of 30 days, so it got served by that for a month before it started erroring out. That's also why I thought it was working.

I set up some monitoring with uptimerobot today, so errors like this should be caught immediately in the future.

@arp242 arp242 added the bug label Jan 2, 2020
@CanRau
Copy link
Contributor

CanRau commented Mar 1, 2020

Is it intended that gc.zgo.at/count.min.js redirects to un-minified gc.zgo.at/count.js ?

@arp242
Copy link
Owner

arp242 commented Mar 1, 2020

Yeah, that's intentional. Minifying isn't really worth it in bytes saved after gzip. It's just a compatibility thing.

@CanRau
Copy link
Contributor

CanRau commented Mar 1, 2020

Okay got it 👍 just found the answer in the Telegram group 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants