CalPolySEC / thewhitehat.club

The White Hat Website
https://thewhitehat.club
MIT License
1 stars 3 forks source link

Remove service workers that are trying to save things on people’s computer #27

Closed thewells1024 closed 4 years ago

thewells1024 commented 5 years ago

Describe the bug Websites should never try to save things to a person’s computer without explicit permission

Additional context Trying to cache content on a web page is not a good idea

slashnick commented 5 years ago

(Unsolicited advice y’all can ignore)

Oh wow this code is weird. Your browser is actually really good at caching static files served by nginx.

thewells1024 commented 5 years ago

@nickfrostatx That was my point, the browser will do a lot of caching on it's own, so there isn't a good reason for a website to cache things on it's own, and never without explicit permission. Browsers at least give some control.