article thumbnail

Download and Cache YouTube Data in an Eleventy Website with Simple JavaScript

The Polyglot Developer

So you want to add your YouTube videos to your static generated website, but you don’t want to manually keep track of all your videos and playlists? Take my website, Poké Trainer Nic , for example. It’s a Pokémon website built with Eleventy that shows a list of my YouTube videos among other things.

Cache 59
article thumbnail

Performance Game Changer: Browser Back/Forward Cache

Smashing Magazine

Performance Game Changer: Browser Back/Forward Cache. Performance Game Changer: Browser Back/Forward Cache. With that caveat out of the way, let’s get to the guts of the article: What is the Back/Forward Cache and why does it matter so much? Didn’t The HTTP Cache Do All That Anyway? Barry Pollard.

Cache 91
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

WordPress Cache Enabler Plugin Updates

KeyCDN

In October 2015 KeyCDN released a free WordPress caching plugin called Cache Enabler. We did this because we wanted to give back to the WordPress community in the offering of a caching solution that was not complicated and most importantly, free. Over the last few months there have been many changes made to Cache Enabler.

Cache 116
article thumbnail

How to Optimize Websites for Ad Publishers

Dotcom-Montior

Running a website speed test can help to determine what factors may be slowing your pages down. including DNS, Connection, SSL, Request, First packet, and Download. As your speed test results will probably show, most of the time spent loading your page is for downloading images and initializing JavaScript. Optimize Your Pages.

Website 92
article thumbnail

The Three Cs: Concatenate, Compress, Cache

CSS Wizardry

Caching them at the other end: How long should we cache files on a user’s device? Given this limitation, it was advantageous to have fewer files: if we needed to download 18 files, that’s three separate chunks of work; if we could somehow bring that number down to six, it’s only one discrete chunk of work. in this article.

Cache 291
article thumbnail

Critical CSS? Not So Fast!

CSS Wizardry

Honestly, in this scenario, my advice is almost always: don’t bother trying to retrofit Critical CSS—just hash-n-cache 1 2 the living daylights out of your existing CSS bundles until you replatform and do it differently next time. But the exact same principles carry through to real websites—your websites. How do we automate it?

Media 351
article thumbnail

Five Data-Loading Patterns To Improve Frontend Performance

Smashing Magazine

The resource loading waterfall is a cascade of files downloaded from the network server to the client to load your website from start to finish. It essentially describes the lifetime of each file you download to load your page from the network. It is important to note how much data the client needs to download.

Cache 125