inline-or-cache-svg---both icon indicating copy to clipboard operation
inline-or-cache-svg---both copied to clipboard

Let's see how possible this is.

Icons! Cached!

I wrote that inlining your <svg> icons makes for the best icon system. Scott Jehl wrote that just because you inline something doesn't mean you can't cache it. Let's see if Scott's idea can extend to SVG icons.

Demo Site

Needs a server...

This works on macOS:

php -S localhost:2222

Build

There is a wildly simple build step here:

node build/build.js

It's just so that the SVG icons can be included and not duplicated needlessly.