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

Improve serving of static files #175

Merged
merged 2 commits into from Feb 11, 2020
Merged

Improve serving of static files #175

merged 2 commits into from Feb 11, 2020

Conversation

@arp242
Copy link
Collaborator

arp242 commented Feb 10, 2020

The serve command serves static files from just the site's domain by
default. You can still give -static to allow serving from a
cookieless domain if you really want.

The saas command just serves one static domain now; the multiple static
domains was mostly a backwards-compatible feature to allow both the new
"gc.zgo.at" CDN and the old "static.goatcounter.com", but not the latter
is always redirected to the former in Varnish, so it's no longer needed.

arp242 added 2 commits Feb 10, 2020
The serve command serves static files from just the site's domain by
default. You can still give -static <domain> to allow serving from a
cookieless domain if you really want.

The saas command just serves one static domain now; the multiple static
domains was mostly a backwards-compatible feature to allow both the new
"gc.zgo.at" CDN and the old "static.goatcounter.com", but not the latter
is always redirected to the former in Varnish, so it's no longer needed.
Would be confusing if "goatcounter create" would create a new DB if
that's not what you're expecting.
@arp242 arp242 force-pushed the static branch from 5282f73 to 53c100d Feb 10, 2020
@arp242 arp242 merged commit 23c1a7c into master Feb 11, 2020
7 checks passed
7 checks passed
Pages changed All files already uploaded
Details
Header rules 2 header rules processed
Details
Mixed content No mixed content detected
Details
Redirect rules 1 redirect rule processed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
deploy/netlify Deploy preview ready!
Details
@arp242 arp242 deleted the static branch Feb 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.