3 ms·
(unrelated to content) Wow, that site speed! In the footer there’s a link to OPs source code. The whole site gets compiled with Rust. Interesting gem to find.
by tillcarlos 3y ago
(unrelated to content)
Wow, that site speed!
In the footer there’s a link to OPs source code. The whole site gets compiled with Rust. Interesting gem to find.
- lawn 3y agoStatic sites are a breath of fresh air in this day and age.
- juanrgon 3y agoIt’s a static site. It would be strange if it wasn’t fast
- codethatwerks 3y agoIt is hard to make a slow one. Even shared hosting wordpress with the cache turned on is fast.
- viraptor 3y agoYou'd think so... There's so many versions of WP caching and so many ways it's deployed, that (with a fairly small experience) I've seen sites taking 5s+ to load after enabling the relevant option because suddenly minimisation and bundling kicked in on every request and kept the page fresh. WP is trivial to make accidentally slow.
- prabir 3y agoI did the same with my blog which is written in rust https://github.com/prabirshrestha/rblog https://github.com/prabirshrestha/rblog. While it could be static I wanted it to be server. But I don't think rust is the reason for it. Not depending on external resources such as fonts and javascript for critical path along with compression is the most critical. Since it is a blog focus on text instead of fancy images and only include when absolutely necessary. Testing the site in Fast 3G or Slow 3G is the best way to find the places where you can optimize your site.
- emmanueloga_ 3y agoThe only nitpick is that the site loads 1.2Mb of fonts... apparently through CloudFront. It seems it serves them uncompressed, perhaps because the fonts are woff2? [1] Also, the bold version of iosevka is an order of magnitud heavier than the other fonts :-). -- 1: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html#compressed-content-cloudfront-file-types https://docs.aws.amazon.com/AmazonCloudFront/latest/Develope...