lite-youtube-embed
purgecss
lite-youtube-embed | purgecss | |
---|---|---|
9 | 51 | |
5,411 | 7,685 | |
- | 0.6% | |
6.3 | 8.4 | |
about 1 month ago | 22 days ago | |
HTML | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lite-youtube-embed
-
YouTube video embedding harm reduction
Maybe a good place to mention Paul Irish’s lite-youtube-embed:
"Provide videos with a supercharged focus on visual performance. This custom element renders just like the real thing but approximately 224× faster."
https://github.com/paulirish/lite-youtube-embed
- Question about the youtube Iframes and removing the obnoxious youtube logo
- How to embed YouTube and Vimeo the light way
-
The Google home page is 500K
That's always been the case. Having too many Google Ads can even downrank you in search results for being a bad user experience.
For Youtube embeds, I prefer Lite Youtube Embed[1] by the magnificent Paul Irish.
[1] https://github.com/paulirish/lite-youtube-embed
-
My web performance journey with Nuxt, Storyblok & Netlify
What I use → For Youtube videos I started using lite-youtube-embed package, following the advice of Debbie O'brien and web.dev!
-
Faster YouTube embeds in Eleventy
Video is great, but the default YouTube embed share is both bloated and not privacy-minded. I finally switched my YouTube embeds to lite-youtube-embed by Paul Irish, and it's fantastic. It loads "faster than a sneeze" and uses the no-cookie version by default.
- Lite-YouTube Embed
- Shouldn't YouTube Videos Hurt Rankings because of the resulting bad page speed?
-
Lazy loading with React
The Lite Youtube Embed project by Paul Irish is a perfect example of fake loading: it takes a Youtube Video ID and presents only a thumbnail with a play button :
purgecss
-
Optimize CSS with SAT Solving
As a starting point, Tailwind used to use PurgeCSS [0] but I'm not sure what they use now.
[0] https://purgecss.com
-
How to load critical styles for a NextJs app
A similar question was already posted here but, I think looking at the raw html, we will be able to better determine the required css than what Purgecss does.
-
Frontend development roadmap
PurgeCss
-
How to speed up your web application
Webpack minifies JS and CSS files by default when we build them in production mode. But it does not remove useless styles or classes. For this, you can use libraries like https://purgecss.com/ Do not forget to check the dependency, connect only the functionality that you use.
-
Removing unused CSS in a Django template-based project
When I searched online I couldn't find an "industry standard" solution to this problem. What I ended up doing was using the popular tool PurgeCSS along with a quick Python script to generate the appropriate command. What the PurgeCSS tool does is search for all your HTML files, gather all the CSS classes used, and then "purge" all the unused ones from the CSS file. You just need to declare all the HTML files you have.
-
23 of the best Eleventy Themes (Starters) for 2023
Skeleventy gives you a rock-solid foundation to build fast and accessible static websites, with clean, understated design. Features include a minimal build pipeline with Laravel Mix, the Sass-powered utility class generator Gorko, Purge CSS, an HTML minifier, SEO-friendly page metadata, image lazy loading, responsive navigation, and an XML sitemap.
-
Reduce unused CSS / JS from a Django App
You could look into using PurgeCSS and its cli?
- Eliminating unused selectors from Sass
-
Workplaces for digital nomads: the frontend
Unable to get rid of unused styles. Importing components individually and setting styles in SASS can greatly simplify builds, but several common unused styles can't be deleted using PurgeCSS and analogues due to dynamic class names.
-
Does My Website Look Big in This? Six Tips to Lower your Page Weight
If you’re hand-crafting your CSS, using only the exact classes you need, you’ll still probably find that your CSS file size grows as your site does. But it doesn’t need to grow too much — you can remove unused classes with tools like Purge CSS .
What are some alternatives?
Nuxt.js - Nuxt is an intuitive and extendable way to create type-safe, performant and production-grade full-stack web apps and websites with Vue 3. [Moved to: https://github.com/nuxt/nuxt]
vue-vite-starter-template - A single page app Vite starter template, created to easily bootstrap Vue.js 2 apps
vue-lazyload - A Vue.js plugin for lazyload your Image or Component in your application.
cssnano - A modular minifier, built on top of the PostCSS ecosystem.
web.dev - The frontend, backend, and content source code for web.dev
PostCSS - Transforming styles with JS plugins
react-scroll - React scroll component
esbuild-loader - Webpack loader for esbuild: Speed up your build ⚡️
lite-youtube - The fastest little YouTube web component on this side of the internet. The shadow dom web component version of Paul's lite-youtube-embed.
snarkdown - :smirk_cat: A snarky 1kb Markdown parser written in JavaScript
loadable-components - The recommended Code Splitting library for React ✂️✨
purifycss - Remove unused CSS. Also works with single-page apps.