Today I learned about the Retry-After HTTP header. It was mentioned over here.
Category Archives: Web
CSS Variables and How To Use Them
A quick run down on CSS Variables and How To Use Them. Note the var() function can take 2nd parameter for a default value.
:root {
--primary-color: #333;
}
div {
color: var(--primary-color, #444);
}
p {
background-color: var(--primary-color);
}
.fancy {
border-color: var(--primary-color);
}
Single page website
This is great: A JavaScript-free way to easily make dynamic HTML sites.
Optimizing Your Web App 100x is Like Adding 99 Servers
An article that popped up on lobste.rs today: Optimizing Your Web App 100x is Like Adding 99 Servers, it has a few performance optimization tips.
What’s New in PHP 8
This on r/programming today: What’s New in PHP 8.
Firefox HTTPS-Only Mode
Today is a historic day! I’m now running Firefox 83 an have enabled the new HTTPS-Only mode!

Low Hanging Fruits in Frontend Performance Optimization
Today I discovered Low Hanging Fruits in Frontend Performance Optimization which is chock full of performance tips for websites.
Double-clicking On The Web
Here’s a fun article about Double-clicking On The Web from way back in 2015. Ah, the good old days.
CSS Box Sizing
Read a good article about Box Sizing over on CSS Tricks.
In summary:
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
How to download a web page with wget
To download a web page along with its scripts and styles etc:
wget --page-requisites --convert-links --execute robots=off https://www.example.com/whatever/