Skip to main content

Insights & Guides

Tutorials, best practices and news on Django, Python and modern web development.

Speed & Performance

Speed & Performance

9 posts
Speed & Performance 30 Dec 2025

Website Speed Optimisation Is a Monthly Habit, Not a One-Off Fix

A fast site does not stay fast on its own. Images, marketing scripts, database growth and Google's own thresholds all move. Here is what changes, the eight checks we run every month, and the database and image housekeeping that keeps a site quick.

Speed & Performance 28 Nov 2025

What Is TTFB? How Server Response Time Affects SEO and Rankings

TTFB is the wait between asking for a page and the first byte coming back: DNS, connection, redirects and the server's own work. Google calls 0.8 seconds or under good. Why it caps LCP, how it affects crawling, and where the time goes on a Django site.

Speed & Performance 28 Nov 2025

Lazy Loading Images: How It Works, When to Use It and When It Hurts

Lazy loading tells the browser not to download an image until the visitor is about to scroll to it. One attribute does it. Here is how the browser decides, where it helps, the two mistakes that make a page slower, and the Django template we use.

Speed & Performance 28 Nov 2025

WebP vs AVIF vs JPEG XL: Which Image Format Should You Use in 2026?

We encoded real portfolio images to JPEG, WebP, AVIF and JPEG XL and compared them at equal visual quality. AVIF was 37% to 67% smaller than JPEG, WebP struggled on photos, and JPEG XL led at high quality but still needs a fallback in most browsers.

Speed & Performance 28 Nov 2025

What Is LCP? Google's 2.5 Second Largest Contentful Paint Rule Explained

Largest Contentful Paint is the time from the click until the biggest image or text block on screen has rendered, and Google wants it at 2.5 seconds or under for three quarters of visits. Which element counts, where the time goes, and how to fix each part.

Speed & Performance 28 Nov 2025

Cache vs CDN: How Browser, Server and CDN Caching Work Together

Cache versus CDN is not a choice. A cache is any stored copy of something expensive to fetch or build; a CDN is a network of servers that holds one near your visitors. How the browser, CDN and server layers work, what the headers mean, and what to cache where.