troyhunt / password-purgatory

Deliberately making password creation a true hell
158 stars 14 forks source link

Cache issue on minified JS #5

Open chk1 opened 2 years ago

chk1 commented 2 years ago

Thanks for merging my PR (#4) so quickly! Unfortunately the website is now broken for me at least, because only the HTML was updated, not the JS.

I made some changes to the JS which are not currently reflected on the web when I open https://passwordpurgatory.com/make-hell.js When I add some bogus URL attributes (?t=123) it shows the un-minified JS with the changes. I tried with Firefox, Chrome and curl.

How often is this file regenerated?

troyhunt commented 2 years ago

I suspect Cloudflare has cached the old version and it hasn't updated yet. I had the same problem earlier today, definitely something I need to have a chat to them about. I'll manually purge cache a little later, thanks for the heads up.