Remove index.html
article thumbnail

A Faster Blog, Faster

Alex Russell

Skipping to the punchline, my blog builds 35% faster and Frances' is north of 40% faster. Writing build/page/128/index.html from./_posts/page.md. Writing build/page/128/index.html from./_posts/page.md. Trimmed build output from "before": slightlyoff@:~/projects/infrequently$ npm run build. _posts/feed.njk.

Cache 49
article thumbnail

Cookieless Alternative To Embed HTML, CSS And JS Code Snippets

Smashing Magazine

Together with a friend, I launched a tech blog last year and we ran exactly into that issue. index.html ??? Ideally, we want to have a fast, secure, accessible, and fair website. At the same time, we want to have an interactive website with comments, polls, videos, code examples, and many more. Get Started. main.js ??? styles.css.

Code 109
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

New AWS feature: Run your website from Amazon S3 - All Things.

All Things Distributed

Because my blog is almost completely static content I wanted to run in this very simple configuration since the launch of Amazon S3. It would allow the blog to be powered by the incredible scale and reliability of Amazon S3 with a minimum of effort from my side. returns the index.html at the bucket level and [link].

AWS 134
article thumbnail

Handling Unused CSS In SASS To Improve Performance

Smashing Magazine

So CSS class names such as: blog-right-column.latest_topics_list.job-vacancy-ad. If you then open /dist/index.html in your web browser, you should see a fairly standard component, which on click expands to reveal some content. In the repo, if you look at the expander’s HTML in dist/index.html , this appears to be the case.

article thumbnail

Building A Web App With Headless CMS And React

Smashing Magazine

Wordpress relies heavily on plugins and themes which may contain malicious codes or bugs and slow the speed of the website or blog. Platforms (blogs, websites, etc) built with headless CMS can be deployed to work on various displays such as web, mobile, AR/VR, and so on. Traditional CMS e.g Check here for more facts. Headless CMS Pros.

article thumbnail

Building The SSG I’ve Always Wanted: An 11ty, Vite And JAM Sandwich

Smashing Magazine

Or you choose something like NextJS for those powerful components, only to struggle with the learning curve of React, or needless KB of JavaScript on a static blog post? List taken from this post on my personal blog. If we “render” this file with some data, we’ll get a beautiful index.html to serve up to our users.

Website 93
article thumbnail

An In-Depth Guide To Measuring Core Web Vitals

Smashing Magazine

The other Lighthouse metrics, and the overall score, are still useful to optimize your site’s performance, but the Core Web Vitals are currently taking up most of the ink on new web performance and SEO blog posts. Viewing The Core Web Vitals For Your Site. LCP histogram in Web Vitals dashboard ( Large preview ).

Google 140