Web Tools #410 - bfcache, CSS Tools, Vue Tools, Uncats

Web Tools Weekly
WEB VERSION
Tools for Web Developers

Issue #410 • May 27, 2021

Advertisement
Cloudways Hosting
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
Cloudways

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:

"bfcache is an in-memory cache that stores a complete snapshot of a page (including the JavaScript heap) as the user is navigating away. With the entire page in memory, the browser can quickly and easily restore it if the user decides to return."

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.

With bfcache vs. without bfache

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 eventspageshow 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

Cloudways Hosting
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 

tailwindcss-capsize
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.

react-spinners-css
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.

CSS Filters Generator

CQFill
A polyfill for the CSS Container Queries spec, which uses the new contain and content-visibility properties.

Font Subsetter
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.

Font Brief
A font discovery tool that lets you find the right font for your project intuitively, by searching for attributes of your brand personality.

Transition.css
A collection of over 40 drop-in CSS animations that you can test out directly on the page.

Input
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.

Formium
A form builder service with a drag-and-drop editor with a free plan that offers 10 forms and 100 monthly submissions.

tailwindcss-scroll-snap
Adds CSS Scroll Snap top Tailwind using CSS custom properties.

Vue Tools

motion
Vue Composables to put your components in motion featuring smooth animations based on Popmotion, a declarative API, and plug-and-play with 10+ presets.

Pinia
Intuitive, type safe and flexible Store for Vue using the Composition API with DevTools support.

vue-cli-plugin-vite
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.
 
Vue3 Icon Picker

Vue Tiny Validator
Tiny validation library (~0.7K gzip'd) without dependencies for Vue 3, inspired by vee-validate and Vuetify's validation.

Vue Chemistry
Reactified JavaScript functions for Vue, powered by reactify from VueUse.

Chūshō
A small library of unstyled and accessible components for Vue.js 3 (alert, button, collapse, etc).

vue-easytable
A data table component for Vue with features like column sorting, fixed column/header, and lots more.

Vuex
A state management solution for Vue 3.

On the Release Radar:

The Uncategorizables

Qatir
A privacy-focused web analytics platform with a free plan of up to 10,000 page views per month.

Mighty
A new browser streamed from the cloud that lets you have more tabs while taking 10x less memory.

Paletter
Not free. A color palette tool for Mac that lets you create professional color palettes from a single color.

domain.garden
Helps you to find great, clever domain names for your new idea, side project, or business.

MarkShow
Create slideshow presentations from markdown.

Glyphics
A platform to build feature-rich QR experiences for walking tours, product docs, signage, packages/labeling, and more.

Cusdis
A lightweight, privacy-first, open-source comment system that's an alternative to Disqus.

Calendso
Open source Calendly alternative with no branding, free if you self host.
 
Calendso

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.

Autocode
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.

A Tweet for Thought
 

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 everyone for subscribing and reading!

Keep tooling,
Louis
@WebToolsWeekly

Support this newsletter:
PayPal.me  Patreon / GitHub Sponsors  E-Books

Older messages

Web Tools #409 - Pointer Events, React, SVG, JSON/DB

Thursday, May 20, 2021

Web Tools Weekly WEB VERSION Issue #409 • May 20, 2021 Advertisement Engineering Leaders Need to Know How to Structure a Remote Hiring Process A new era of remote work suddenly arrived and managers

Web Tools #408 - JS Libraries, Bundlers, React Tools

Friday, May 14, 2021

Web Tools Weekly WEB VERSION Issue #408 • May 13, 2021 Advertisement Learn How Remote Pair Programming Can Increase Your Team's Efficiency Suddenly, the future of work materialized, and when your

Web Tools #407 - Webpack, Frameworks, Testing, JS Utils

Thursday, May 6, 2021

Web Tools Weekly WEB VERSION Issue #407 • May 6, 2021 Advertisement The Key to a Healthy Lifestyle Noom is not a diet – it's a personalized program designed to create sustainable weight loss and

Web Tools #406 - CSS Tools, SVG, Svelte, jQuery

Thursday, April 29, 2021

Web Tools Weekly WEB VERSION Issue #406 • April 29, 2021 Advertisement The Secret to a Healthy Lifestyle Noom is the world's leading behavior change company, disrupting the weight loss and

Web Tools #405 - JS Libraries, VS Code Tools, Uncats

Thursday, April 22, 2021

Web Tools Weekly WEB VERSION Issue #405 • April 22, 2021 Advertisement Stay Online and Secure with Snapt Aria ADC – Fast, Agile, Efficient Reduce risk, build anywhere, be adaptable. Up to 5X faster

You Might Also Like

Ranked | The Tallest and Shortest Countries, by Average Height 📏

Saturday, November 23, 2024

These two maps compare the world's tallest countries, and the world's shortest countries, by average height. View Online | Subscribe | Download Our App TIME IS RUNNING OUT There's just 3

⚙️ Your own Personal AI Agent, for Everything

Saturday, November 23, 2024

November 23, 2024 | Read Online Subscribe | Advertise Good Morning. Welcome to this special edition of The Deep View, brought to you in collaboration with Convergence. Imagine if you had a digital

Educational Byte: Are Privacy Coins Like Monero and Zcash Legal?

Saturday, November 23, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 23, 2024? The HackerNoon

🐍 New Python tutorials on Real Python

Saturday, November 23, 2024

Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Black Friday Giveaway @ Real Python This Black

Re: Hackers may have stolen everyone's SSN!

Saturday, November 23, 2024

I wanted to make sure you saw Incogni's Black Friday deal, which is exclusively available for iPhone Life readers. Use coupon code IPHONELIFE to save 58%. Here's why we recommend Incogni for

North Korean Hackers Steal $10M with AI-Driven Scams and Malware on LinkedIn

Saturday, November 23, 2024

THN Daily Updates Newsletter cover Generative AI For Dummies ($18.00 Value) FREE for a Limited Time Generate a personal assistant with generative AI Download Now Sponsored LATEST NEWS Nov 23, 2024

📧 Building Async APIs in ASP.NET Core - The Right Way

Saturday, November 23, 2024

​ Building Async APIs in ASP .NET Core - The Right Way Read on: m​y website / Read time: 5 minutes The .NET Weekly is brought to you by: Even the smartest AI in the world won't save you from a

WebAIM November 2024 Newsletter

Friday, November 22, 2024

WebAIM November 2024 Newsletter Read this newsletter online at https://webaim.org/newsletter/2024/november Features Using Severity Ratings to Prioritize Web Accessibility Remediation When it comes to

➡️ Why Your Phone Doesn't Want You to Sideload Apps — Setting the Default Gateway in Linux

Friday, November 22, 2024

Also: Hey Apple, It's Time to Upgrade the Macs Storage, and More! How-To Geek Logo November 22, 2024 Did You Know Fantasy author JRR Tolkien is credited with inventing the main concept of orcs and

JSK Daily for Nov 22, 2024

Friday, November 22, 2024

JSK Daily for Nov 22, 2024 View this email in your browser A community curated daily e-mail of JavaScript news React E-Commerce App for Digital Products: Part 4 (Creating the Home Page) This component