Does anybody know a trick to make sure everyone always sees the lastest version of my stylesheet? It seems like the browser loooves caching it >.< Must be a common problem here on neocities probably?
I think it's a neocities thing, that happens a lot with my site; when I open in another browser or in my phone the site is updated, but if I use the same browser it never updates, no matter how many times I refresh the page :(
if you have your css in a separate file, you can add "?v=1" to the end of the css link href in the html file, and increment the number each update to trick the browser into not caching the previous css whenever you make updates - here's an example: https://codepen.io/Tofurky/pen/QWPyQYM lemme know if this makes sense or not :P
I think it's a neocities thing, that happens a lot with my site; when I open in another browser or in my phone the site is updated, but if I use the same browser it never updates, no matter how many times I refresh the page :(
if you have your css in a separate file, you can add "?v=1" to the end of the css link href in the html file, and increment the number each update to trick the browser into not caching the previous css whenever you make updates - here's an example: https://codepen.io/Tofurky/pen/QWPyQYM lemme know if this makes sense or not :P
thank you guys! i actually know about the ?=... solution, i just hoped there's a better one haha.