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

shields.io is tracked by CloudFlare #608

Closed
techtonik opened this issue Dec 26, 2015 · 10 comments
Closed

shields.io is tracked by CloudFlare #608

techtonik opened this issue Dec 26, 2015 · 10 comments
Labels
operations Hosting, monitoring, and reliability for the production badge servers

Comments

@techtonik
Copy link
Contributor

Chrome page audit shows that requiest to shields.io sends 8.9KB of cookies. The guilty is this CloudFlare cookie which seems to be impossible to turn off:

http://webmasters.stackexchange.com/questions/59226/disable-cfduid-cookie-from-cloudflare

What are other alternatives to CloudFlare?

@espadrine
Copy link
Member

Huh, I didn't know about it. That said, it is only on the main page, not on badges, so the harm is limited.

CloudFlare provides us TLS with valid certificates. An alternative would be let's encrypt, but at this point, it would be quite a hassle to set up.

@techtonik
Copy link
Contributor Author

@espadrine why do you think it is only on the main page? GitHub just caches all that content, so there are no direct requests to CloudFare.

@espadrine
Copy link
Member

Ah, true. The cookie spans .shields.io. I understand CloudFlare's justification, but it feels like something that they should allow disabling. Their argument doesn't apply here since they cannot cache my content, even if I wanted them to.

I'll try to use let's encrypt instead.

@techtonik
Copy link
Contributor Author

let's encrypt is not a CDN. Do you mean switch to self-hosting shields?

@espadrine
Copy link
Member

We already self-host shields. We don't have a CDN. The only thing we use CloudFlare for is its free TLS certificates.

@techtonik
Copy link
Contributor Author

So, what server is used? Is the production configuration explained somewhere? From https://github.com/badges/shields/blob/master/INSTALL.md#start-the-server it looks like it is running Node. Is there nginx or something?

@techtonik
Copy link
Contributor Author

@AdrieanKhisbe AdrieanKhisbe added the operations Hosting, monitoring, and reliability for the production badge servers label Jan 25, 2016
@espadrine
Copy link
Member

I tried adding more information. I use a node server pretty much directly.

@anantshri
Copy link

Today i have started to get cloudflare warnings on img.shields.io as per this conversation looks like cloudflare was suppose to only work on shields.io. Can you check and suggest.

@paulmelnikow
Copy link
Member

I think this should be fixed for the home page, which no longer uses Cloudflare.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
operations Hosting, monitoring, and reliability for the production badge servers
Projects
None yet
Development

No branches or pull requests

5 participants