Coding with Andrzej

Hello, and welcome to my devlog. This is where I talk about whatever coding I’ve been up to recently. Queries to ajsWritesCode@gmail.com.

Latest...

More cache-busting

Well, that was easy.

At the end of my last post, I had successfully written a script to stop stale CSS from getting stuck in the browser cache. It was a rough-and-ready solution — mine usually are — but it did the job. The one optimization I wanted to make was to ensure that the cache gets busted only when there is fresh CSS, as opposed to on every build. I had expected to get a nice long blog post out of this, but it turns out to be a very easy job.

Read more...