peterwilsoncc / local-twemoji
Local Twemoji.
Installs: 34
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:wordpress-plugin
Requires (Dev)
This package is auto-updated.
Last update: 2025-07-08 02:00:23 UTC
README
Self hosted Twemoji images
Description
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
Licenses
The plugin code is licensed under the MIT License.
The Emoji SVG and PNG assets are licensed under the CC-BY 4.0 License. Copyright Twitter Inc. and other contributors.