Scott's Site

scott2.neocities.org

361,688 views
186 followers
16,515 updates
0 tips
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 3 weeks 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 2 weeks 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 2 weeks 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.
5 likes
scott2's avatar scott2 3 weeks 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 3 weeks 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 3 weeks 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 3 weeks ago

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

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

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

1 like
scott2's avatar scott2 3 weeks ago

Thanks a lot tabf5!

1 like
1 like
scott2's avatar scott2 3 weeks 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
4 likes
tabf5's avatar tabf5 1 month ago

Cool stuff! I like how simple this tech is

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

Website Stats

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

Tags

gaming blog gamedev art webdev