CSS files are render blocking resources, which means that before a web page can be rendered, they have to be loaded and processed. While this is a great thing to ensure your pages look and feel as is intended, it can lead to slower page load times as your CSS
Tag: Tutorials
Up to this point, server side rendering (SSR) Vue 3 on Cloudflare Workers has not been easy (or very efficient). However, with the addition of various streaming capabilities such as renderToWebStream
and pipeToWebWritable
in Vue.js 3.2, this is changing.
renderToWebStream
is a new API available in @vue/server-renderer
Update: As of June 2021, Firefox 89 is the first browser to support the type()
function within image-set()
, enabling us to do this with purely CSS.
Update 2: As of June 2023, Chrome 113, and Safari 17 also support the type()
function within image-set()
, making this usable in all major
Reading the comments on a blog post can often be very interesting. You'll find people suggesting alternative methods or corrections, discussing their own experiences, or suggesting further topics for reading.
Disqus is one of the most popular comment platforms, with its massive userbase and ease of deployment into pretty much
UPDATE: Whilst the method below still works absolutely fine, SVG favicon support is much more prevalent in browsers nowadays. The same functionality as below can be accomplished with a single SVG favicon and a prefers-color-scheme
media query within it. See this post by Thomas Steiner for more info.
If you