Scroll to top

17/12/2025

The home on the web of Colin Walker. Find out more on /about, say /hello, or sub to the daily RSS feed.

2025/12/17#p1

# 0 comments: click to leave a comment

I've been making more changes to the site, nothing user facing. I decided to create a dummy GitHub repository with a few core files and let Codex make some recommendations.

I'm always looking for ways to reduce database queries so implemented a couple of basic JSON file-based caches:

  • one for the 10 most recent posts (rebuilt when I add/delete/edit a post), and
  • one for site options (rebuilt if I log in to refresh the session info)

I've been having issues with certain IP addresses hammering the site overnight — on one occasion, I had over 160,000 hits from the same IP in just a few minutes. 1 Codex suggested a simple file-based IP throttle control.

I'll see if the changes help to 1) handle load a bit better, and 2) rate limit problematic IPs. I don't want to block them outright.

As well as a couple of CSS changes, there are some additional recommendations that I might look into in the future, but this is enough to be getting on with.


  1. no, it wasn't an AI scraper bot 

No comments yet
Leave a reply



You can also:

Click here to reply using email Reply by email Send a webmention Send a Webmention



Close