Commit 94f5e035 authored by Sylvain Kerkour's avatar Sylvain Kerkour

osw 12

parent b0945430
Pipeline #147977183 passed with stages
in 56 seconds
......@@ -17,7 +17,7 @@ traffic custom fonts are accountable for) in order to improve its performance, r
I’m pretty satisfied with the effort: now, any page reliably loads in less than 1 second worldwide
without a [CDN](https://en.wikipedia.org/wiki/Content_delivery_network) (yeah, even in Australia) and the theme overhead is approximately 10 KB.
![website performance](fe_perf.png)
![website performance](https://fatalentropy.com/open-source-weekly/12/fe_perf.png)
As I’m not the only one concerned about my website performance and resources impact, let’s explore the world of extremely lightweight and sustainable websites.
......@@ -34,12 +34,12 @@ Just use old and boring technology: a static site generator with HTML, CSS and J
While rebuilding my website I learned a few things:
* My budget for a page is 30KB for HTML + CSS + JS, almost half of the custom font I previously sent.
* Use the default system fonts
* Use the default system fonts.
* HTML, CSS and JS takes time to parse. Experiment between adding the assets as external resources (thus requiring additional requests) and inlining them (thus they are loaded for each page).
* There are lightweight alternatives to JQuery which provide the same ease of development. I choose cash (see below).
* The fastest code is the one that does not exist. Instead of adding, remove, remove remove. Remove useless libraries, remove useless images, remove useless top bars.
* It took me less time to build it from scratch rather than integrating Bootstrap.
* Text compresses well (due to the low entropy) and images & fonts don’t (due to high entropy)
* Text compresses well (due to the low entropy) and images & fonts don’t (due to high entropy).
<br />
......@@ -131,8 +131,8 @@ A new attack against the Bluetooth specification itself was found, affecting Sam
Also other vulnerabilities have come out this week in LibreOffice, Ruby on rails, Red hat and Ubuntu’s kernels, PostgreSQL, Chrome OS and more. ([https://www.cert.ssi.gouv.fr/avis](https://www.cert.ssi.gouv.fr/avis)) <br />
Update now :)
Also other vulnerabilities have come out this week in LibreOffice, Ruby on rails, Red hat and Ubuntu’s kernels, PostgreSQL, Chrome OS and more. Update now :)<br />
[https://www.cert.ssi.gouv.fr/avis](https://www.cert.ssi.gouv.fr/avis))
<br />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment