From a09911551e4311e7d51ada3792f07c3e5e51b92b Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 25 Feb 2025 23:29:41 +0000 Subject: [PATCH] Add daily email for 2025-02-12 Small and fast --- source/_daily_emails/2025-02-12.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 source/_daily_emails/2025-02-12.md diff --git a/source/_daily_emails/2025-02-12.md b/source/_daily_emails/2025-02-12.md new file mode 100644 index 00000000..02282ae2 --- /dev/null +++ b/source/_daily_emails/2025-02-12.md @@ -0,0 +1,28 @@ +--- +title: Small and fast +date: 2025-02-12 +permalink: daily/2025/02/12/small-and-fast +tags: + - software-development +cta: ~ +snippet: | + Try and keep your codebase as lean and performant as possible. You never know what connection people will be using your code from, so avoid bloat and optimise for performance. +--- + +Due to an local outage, I've had no broadband connection and been mostly offline for the last few days. + +The only connection I've had is a weak 4G signal from my mobile phone that I've been able to tether from to check emails, etc. + +But this is slow and I struggled to load the majority of websites. + +Some would take a number of seconds or minutes to load, or fail. + +As websites and applications develop and grow, it's important to try and keep your codebase as lean and performant as possible. + +You never know what connection people will be using your code from. + +What if their broadband goes down or they're in an area with a poor mobile signal? + +They may not be able to download your large CSS or JS file, or execute the unoptimised database query. + +You can't assume everyone will be using a high speed Internet connection, so avoid feature bloat, optimise for performance and keep things small and fast.