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

Set Cache-Control: no-cache on response? #11

Open
wesbos opened this issue May 11, 2021 · 4 comments
Open

Set Cache-Control: no-cache on response? #11

wesbos opened this issue May 11, 2021 · 4 comments

Comments

@wesbos
Copy link

wesbos commented May 11, 2021

Thanks for the awesome website. I often use this site to check if my internet is down or not, as my ISP will attempt to redirect non ssl pages.

A problem is that when I visit the site, Firefox gives me the cached version of the site, even if the internet is down.

Could you set a Cache-Control: no-cache header on the server response?

@lukastribus
Copy link

I suggest to bookmark:

neverssl.com/v2

Which will never be cachable, because creates a random hostname (but I agree neverssl.com is easier to remember).

@wesbos
Copy link
Author

wesbos commented May 11, 2021

I feel like it used to do this. Did it change?

@lukastribus
Copy link

I'm pretty sure no-cache header was previously set - maybe something at the CDN changed. But Javascript generating a random hostname and diverting there was never on the main page afaik.

@wesbos
Copy link
Author

wesbos commented May 11, 2021

Hmm, I have hundreds of http://randomID.neverssl.com/online in my history and i've never known another URL. Something must have changed. Maybe even a link to the /v2 would be helpful?

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

No branches or pull requests

2 participants