
內容簡介
總結:Local Twemoji 是一個 WordPress 外掛,用於從您自己的網站 URL 提供回退表情符號圖像,而不是從 WordPress.org CDN。
1. Local Twemoji 是什麼?
- Local Twemoji 是一個 WordPress 外掛,旨在從您自己的網站 URL 提供回退表情符號圖像。
2. 這個外掛的目的是什麼?
- 這個外掛的目的是幫助運行在 CDN 上的網站,因為現在瀏覽器基於每個網站的請求緩存,而不是全局性的。
3. 如果使用 WordPress.org CDN 的效果是什麼?
- 使用 WordPress.org CDN 的效果是,如果從 site-one.example 和 site-two.example 下載 WordPress.org CDN 的圖像,會將 splat 圖片視為兩個不同的圖像。
4. 從自己的 URL 下載圖像對於運行在 CDN 上的網站有什麼好處?
- 對於運行在 CDN 上的網站來說,從您自己的 URL 下載圖像會更快,因為這樣可以減少訪問者的瀏覽器需要連接的伺服器數量。
外掛標籤
開發者團隊
原文外掛簡介
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.
WordPress version support
A new version of Twemoji is released each time the emoji are added to the Unicode specification, each major version bump of Twemoji will contain new images.
To avoid the risk of serving broken images to your visitors, this plugin should be kept up to date.
WordPress 6.9 requires Local Twemoji 1.3.1 or later
Earlier versions of WordPress require Local Twemoji 1.1.0 or later
