[WordPress] 外掛分享: Faster Smilies

前言介紹

  • 這款 WordPress 外掛「Faster Smilies」是 2009-01-15 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2009-01-16,距離現在已有 5962 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 2.5 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

johanee |

外掛標籤

performance |

內容簡介

當有評論的文章和頁面中,創建頁面中最耗時的部分就是將表情符號轉換為圖像的翻譯!

這在WordPress 2.8-bleeding-edge中已經得到修復,但如果你沒有使用,(在生產中你可能不應該,但!)這個外掛程序仍然可以加速處理速度。

它替換了smilies_init為一個新的,構造了一個更有效的常規表達式,顯著增加了處理表情符號更快的效率。

注意:它使用"e"修飾符來替換preg_replace來避免修補任何核心文件。但不是所有主機都允許這樣做。

性能

一個在WordPress 2.7中的25個評論的頁面平均創建速度快了28%!

在沒有插件的2.6.5版本上,對具有403個評論的頁面上濾鏡的性能概況如下:

總共用時: 7.052秒,過濾/操作:5.856秒(83%),數據庫:0.033秒(0.5%)
1. convert_smilies(調用次數:403,總用時:3.911秒(55.5%))
...

帶有插件的概況如下:

總共用時:3.439秒,過濾/操作:2.174秒(63.2%),數據庫:0.036秒(1%)
...
4. convert_smilies(調用次數:403,總用時:0.357秒(10.4%))
...

速度提升了50%以上!

原文外掛簡介

On posts and pages with comments the most timeconsuming part in page creation is translating the smilies to images!
This has now been fixed in WordPress 2.8-bleeding-edge, but if you are not using that (and in production you probably shouldn’t, yet!), this plugin gives you the speedup anyway.
It replace smilies_init with a new one that constructs a more efficient regular expression, resulting in 10 ggr faster handling of smilies replacement.
Note: it uses the ‘e’ modifier to preg_replace to avoid patching any core files. Not all hosts allow this.
Performance
A page with 25 comments on an otherwise empty WordPress 2.7 got created on average 28% faster!
Profile of filters on 2.6.5 without plugin on a page with 403 comments:
Total: 7.052s, Filters/Actions: 5.856s (83%), Db: 0.033s (0.5%)
1. convert_smilies (calls: 403, total time: 3.911s (55.5%))
...

Profile with plugin:
Total: 3.439s, Filters/Actions: 2.174s (63.2%), Db: 0.036s (1%)
...
4. convert_smilies (calls: 403, total time: 0.357s (10.4%))
...

More than 50% faster!

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Faster Smilies」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • LiteSpeed Cache 》LiteSpeed Cache for WordPress(LSCWP)是一種全方位的網站加速外掛,包括獨家的伺服器層快取和一系列的優化功能。, LSCWP 支援 WordPress Multisite 及大多...。
  • Jetpack – WP Security, Backup, Speed, & Growth 》search engines, and grow your traffic with Jetpack. It’s the ultimate toolkit for WordPress professionals and beginners alike., , Customize and des...。
  • Image Optimizer – Optimize Images and Convert to WebP or AVIF 》外掛總結:, , - Image Optimizer 是一個易於使用的 WordPress 外掛,透過壓縮和調整大小的技術來減少圖像大小,同時保留最高的圖像品質。, - Image Optimize...。
  • WP Super Cache 》本外掛可以從您的動態 WordPress 部落格生成靜態 HTML 檔案。在產生 HTML 檔案後,您的網頁伺服器會傳送該檔案,而不是處理比較沉重、耗費更多資源的 WordPre...。
  • WP Fastest Cache 》han PNG or JPEG, which means faster downloads and less data consumption for your visitors, Database Cleanup – Detect and delete unnecessary d...。
  • ManageWP Worker 》, Want to clone or migrate your WordPress website to a new host or domain? No problem! With ManageWP, you can easily clone or migrate your website ...。
  • W3 Total Cache 》W3 Total Cache (W3TC) 透過整合內容傳遞網絡 (CDN) 和最新最佳實踐等功能,提高網站性能、減少加載時間,增進 SEO、核心 Web 主要指標和整體用戶體驗。W3TC ...。
  • Speed Optimizer – The All-In-One Performance-Boosting Plugin 》SiteGround Optimizer 插件是由 SiteGround 開發的,可以大幅提高任何托管環境下的 WordPress 網站性能。, 最初設計用於 SiteGround 的服務器,現在已經有近 ...。
  • Autoptimize 》Autoptimize 能夠輕鬆優化您的網站。它可以整合、縮小和快取腳本和樣式表,在默認情況下向頁面 head 中注入 CSS,但也可以內嵌關鍵 CSS 並延遲整合的完整 CSS...。
  • AMP 》「Page Experience」(PX)是一組排名訊號,包括「核心網頁素質」(Core Web Vitals,CWV),用來測量使用者與網頁互動的使用體驗。AMP 是一個強大的工具,能...。
  • WebP Express 》ch means less bandwidth usage and faster page load times., Easy to use - with little effort, WordPress site admins can have their site serving auto...。
  • Breeze – WordPress Cache Plugin 》Breeze是由Cloudways團隊開發的一款免費、簡單(卻功能強大)且使用者友好的WordPress快取外掛。它提供不同層級的WordPress效能優化選項,在WordPress、搭配W...。
  • Jetpack Boost – Website Speed, Performance and Critical CSS 》使用 Jetpack Boost 優化網頁性能加速你的 WordPress 網站。輕鬆啟用一鍵優化,提升核心 Web 重要指標。, 你是否知道,更快的網站可以:, , 在 Google 搜尋排...。
  • Custom Fonts – Host Your Fonts Locally 》此外掛能協助您輕鬆地在 WordPress 網站中嵌入自定義字型檔案 (woff2、woff、ttf、svg、eot、otf)。, 目前能與以下主題和外掛一起使用:, , Astra 主題, Beav...。
  • Redis Object Cache 》一個由 Redis 提供支援的持久化物件快取後端。支援 Predis、PhpRedis (PECL)、Relay、複寫、哨兵、叢集化和 WP-CLI。, 若要調整連線參數、前綴的快取鍵或設定...。

文章
Filter
Apply Filters
Mastodon