Issue
I'm using GitHub to host my site it worked normally for a while but after a while my browser stopped updating the CSS and JS files HTML files update normally. For others it works normally but not for me.
I have tried: CTRL+F5, CTRL+SHIFT+R, clearing cache.
Here is the source: https://github.com/Jakooob14/jakooob-site
The site: https://jakooob.ml
Solution
It's cool that sites like GitHub offer free hosting, but I'm not always clear how they manage caching of files. One thing you can do is add a query string to the URL, which will force the browser to fetch a fresh copy:
<link rel="stylesheet" href="style-index.css?v=1" />
The ?v=1
above should do the trick.
Answered By - Djave
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.