Scott's Site

scott2.neocities.org

305,387 views
177 followers
16,441 updates
0 tips
NotSSG 1.1: Never worry about your visitors getting stale content again: https://scott2.neocities.org/blog/2026-03-14_notssg-1-1-full-cache-busting/
5 likes
4 likes
scott2's avatar scott2 4 days ago

Whew! NotSSG 1.1 is wrapped and ready for release. Gonna just give it a few days in case I think of anything, but the plan is to release 1.1 this Sunday (12th).

1 like
scott2's avatar scott2 4 days ago

Nope, 12th is today's date (what the heck is it with me and dates lol O_O). Release will be Sunday 15th.

1 like
Q'PLAAAAAAAAAA I got it working. It finally freaking works. The HTML file cache busting is finally solved. NotSSG 1.1 is now officially actually happening, and NotSSG powered sites (including mine) will never have to worry about stale pages, sheets or scripts ever, ever again! :D
5 likes
scott2's avatar scott2 5 days ago

If anyone's interested, HTML file cache busting using a URL parameter works... provided you use Neocities clean, canonical URL. So ✅ about?cachebust=xxx, but, ❌ about.html?cachebust=xxx often serves stale content. I'll possibly be providing NotSSG's cache busting as a separate, independent non-NotSSG script also for those that might want it, and doing a blog entry on how the cache busting works at some point.

2 likes
tabf5's avatar tabf5 5 days ago

I really really really want to use NotSSG but I don't want to rewrite my current site around it, but I'm trying to think of a new Neocities site I could make as a side project to use it

1 like
scott2's avatar scott2 5 days ago

Thanks tabf5, it's great to hear you're interested in NotSSG! It'll be there if/when you're ready! 😁

1 like
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.
4 likes
scott2's avatar scott2 6 days 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 6 days 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 1 week 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 1 week ago

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

1 like
5 likes
scott2's avatar scott2 1 week 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 1 week ago

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

1 like
scott2's avatar scott2 1 week ago

Thanks a lot tabf5!

1 like
1 like
scott2's avatar scott2 1 week 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

Website Stats

Last updated 7 hours ago
CreatedFeb 4, 2023
Site Traffic Stats

Tags

gaming blog gamedev art webdev