Local Twemoji is a WordPress plugin to serve fallback emoji images from your own site URL rather than the WordPress.org CDN.
The purpose of this plugin is to aid sites served over a CDN as browsers now cache requests on a per site basis rather than globally.
The effect of this is that the WordPress.org CDN’s splat image is treated as two different images if downloaded from site-one.example and site-two.example. You can read more about this in the Chrome post on cache partitioning.
For sites served over a CDN, downloading the image from your own URL will be quicker as it reduces the number of servers the visitor’s browser needs to connect to.
Installation
Local Twemoji can be installed via the following methods.
Composer
composer require peterwilsoncc/local-twemoji
Downloads
Twemoji images are licensed CC-BY 4.0 by Twitter Inc and contributors.