Issue #410 (bfcache, CSS/HTML, Vue, Uncats)
A managed cloud hosting platform for digital agencies, developers, and e-commerce businesses offering simplicity, great performance, expert 24/7 support, and powerful team collaboration features.
Start a Free Trial Today
Last year Philip Walton wrote an article on Google's web.dev on a new feature supported by Chrome, Firefox, and Safari called back/forward cache or bfcache for short.
This is not a feature that you as a developer can implement, it's something that's built into the browser. But, as Philip explains in the article, it is something you can optimize for.
What is bfcache? To quote the article:
The article embeds a video to show you the difference between a website using bfcache compared to one not. If you've navigated the web on mobile, then you'll immediately see what a huge benefit this is when it's in use.
Philip also explains the APIs you can use to understand when the feature is working:
"The primary events used to observe bfcache are the page transition events—pageshow and pagehide—which have been around as long as bfcache has and are supported in pretty much all browsers in use today."
Suggestions for optimizing for bfcache include:
- Never use the unload event (which doesn't work the same as it used to anyhow)
- Only add beforeunload listeners conditionally
- Avoid window.opener references (i.e. opening a link in a new window without using rel=noopener)
- Always close open connections before the user navigates away
Each of the points above is discussed in detail, with code examples, in the article so be sure to look that over if you're interested in creating a faster and more optimized navigation experience on mobile devices.
Now on to this week's tools!
CSS and HTML Tools
A managed cloud hosting platform for digital agencies, developers, and e-commerce businesses offering simplicity, great performance, expert 24/7 support, and powerful team collaboration features. sponsored
A port of Capsize, a Tailwind plugin for trimming the white space above and below text nodes.
Stacking Contexts Inspector
Chrome extension to assist in using z-index by allowing you to inspect stacking contexts.
A collection of React loading spinner components made with CSS.
CSS Filters Generator
Interactive tool to fiddle with basic CSS or SVG filters. You can upload your own image, make adjustments, then grab the CSS or HTML/SVG code.
A polyfill for the CSS Container Queries spec, which uses the new contain
Online tool that lets you upload a font file, select the glyphs you intend to use, then download the specified subset, rather than using the entire set of glyphs.
Tailwind JIT as a CDN
Use the full power of Tailwind's new JIT compiler by including one script tag to your HTML.
A font discovery tool that lets you find the right font for your project intuitively, by searching for attributes of your brand personality.
A collection of over 40 drop-in CSS animations that you can test out directly on the page.
A flexible system of fonts designed specifically for code that offers both monospaced and proportional fonts, all with a large range of widths, weights, and styles for richer code formatting.
A form builder service with a drag-and-drop editor with a free plan that offers 10 forms and 100 monthly submissions.
Adds CSS Scroll Snap top Tailwind using CSS custom properties.
Vue Composables to put your components in motion featuring smooth animations based on Popmotion, a declarative API, and plug-and-play with 10+ presets.
Intuitive, type safe and flexible Store for Vue using the Composition API with DevTools support.
An out-of-the-box solution to allow you to use Vite with the vue-cli.
Vite SVG loader
Vite 2.x plugin to load SVG files as Vue components.
Vue3 Icon Picker
An icon picker component for Vue 3 projects.
Vue Tiny Validator
Tiny validation library (~0.7K gzip'd) without dependencies for Vue 3, inspired by vee-validate and Vuetify's validation.
A small library of unstyled and accessible components for Vue.js 3 (alert, button, collapse, etc).
A data table component for Vue with features like column sorting, fixed column/header, and lots more.
A state management solution for Vue 3.
On the Release Radar:
A privacy-focused web analytics platform with a free plan of up to 10,000 page views per month.
A new browser streamed from the cloud that lets you have more tabs while taking 10x less memory.
Not free. A color palette tool for Mac that lets you create professional color palettes from a single color.
Helps you to find great, clever domain names for your new idea, side project, or business.
Create slideshow presentations from markdown.
A platform to build feature-rich QR experiences for walking tours, product docs, signage, packages/labeling, and more.
A lightweight, privacy-first, open-source comment system that's an alternative to Disqus.
Open source Calendly alternative with no branding, free if you self host.
Image to Sketch
Convert any photo to a sketch that looks hand-drawn, based on advanced AI technology.
Reverse Engineer's Toolkit
A collection of tools to use if you're interested in reverse engineering and/or malware analysis on x86 and x64 Windows systems.
Instant endpoints for anything. Trigger endpoints from SaaS events using a built-in scheduler or just via web request.
A Tweet for Thought
A reminder that maybe it's not good to pixelate sensitive data.
Send Me Your Tools!
Made something? Send links via Direct Message on Twitter @WebToolsWeekly (details here). No tutorials or articles, please. If you have any suggestions for improvement or corrections, feel free to reply to this email.
Before I Go...
If you're shopping for tech products, you might want to check out RecoRank. It's a site that aggregates expert product reviews (not customer reviews) from various sources, to help you make a decision on a purchase.
Thanks to all for subscribing and reading!