Scott's Site

scott2.neocities.org

481,524 views
200 followers
16,723 updates
0 tips
Cache busting CSS and JS wasn't too complex. But MAN, HTML file cache busting, combined with the fact Neocities has a bug with ?cb=xxx where it does the opposite of expected and often serves stale pages. And wanting to remain compatible with other hosts and the file system. Well, let's just say it's been a learning experience πŸ˜‚πŸ˜‚πŸ˜‚. The code is written, tested on the file system and XAMPP. Now to test live lol.
5 likes
scott2's avatar scott2 4 months ago

And of course there's Neocities clean URL thing where it redirects about.html to just about being in the mix. Blimey.

2 likes
tabf5's avatar tabf5 4 months ago

The mystery of .html cache-busting continues to haunt us all. If we had access to our nginx config files we could all fix this in an hour. If only.....

2 likes
Weeell I just uploaded the (not yet released) 1.1 of NotSSG to my own site so I can test it for a bit, 5 minutes before I go to sleep. Seems pretty solid, but let me know if anything explodes! :D NotSSG 1.1 will include HTML cache busting, the ability to put layout.js wherever you want, and I think I added something else, but I've forgotten what it was while typing this (I have it written down somewhere).
3 likes
scott2's avatar scott2 4 months ago

Because of this feature, you'll now see ?cb=xxx in the address bar, and in links when browsing my site. This ensures repeat visitors get the latest version of my site (rather than a cached version), without them having to F5 or Ctrl+F5. It's divided into 15m buckets to be server/bandwidth friendly.

2 likes
pengat's avatar pengat 4 months ago

Ooo! I definitely want to learn how to do the cache busting. Thank you!

1 like
scott2 updated their site.
5 months ago
5 likes
scott2's avatar scott2 5 months ago

Right at this moment, 100% of my subscribers say they are happy they subscribed. Sure, my only subscriber right now is me. But I'd still say that's good happy subscriber ratio for day 1.

5 likes
tabf5's avatar tabf5 5 months ago

I would like to say I am happy to be subscribed.

1 like
scott2's avatar scott2 5 months ago

Thanks a lot tabf5!

1 like
scott2 updated their site.
5 months ago
1 like
scott2's avatar scott2 5 months ago

Well, I've learned HTML file cache busting IS possible. I thought it wasn't. Now it HAS to go into NotSSG. So this is just me experimenting and getting an idea of how it works.

1 like
Well, I goofed and NotSSG's boilerplate code, which should never change, had to change, and 1.0.1 is available for download. Get the details nyar!: https://scott2.neocities.org/blog/2026-03-03_notssg-1-0-1-oops/
2 likes
scott2 updated their site.
5 months ago
4 likes
tabf5's avatar tabf5 5 months ago

Cool stuff! I like how simple this tech is

1 like
scott2's avatar scott2 5 months ago

Thank you! That's honestly really great to hear! Simplicity was my absolute top priority with this project (both for myself and others who may use it), and a lot of thought went into that aspect of it!

1 like
myrrh's avatar myrrh 5 months ago

ur killin it per usual !

2 likes
RSS: The Lighter way to Subscribe to Websites (lol xD). Little article that explains RSS and provides an option for subscribing to websites: https://scott2.neocities.org/rss/
3 likes
scott2 updated their site.
5 months ago
3 likes
scott2's avatar scott2 5 months ago

Just spruced up this page a bit! I hope it gives a better picture of what NotSSG actually does than before. xD

2 likes
NotSSG 1.0 is available for download! NotSSG is a small script for making websites. Update your layout in one place, all pages are updated! Plus other features! Check it out at: https://scott2.neocities.org/notssg/!
4 likes
pengat's avatar pengat 5 months ago

Thanks so much for this!

1 like

Website Stats

Last updated 1 week ago
CreatedFeb 4, 2023
Site Traffic Stats

Tags

gaming blog gamedev art webdev