[WordPress] 外掛分享: WP Simple Thimble

首頁外掛目錄 › WP Simple Thimble
10+
安裝啟用
★★☆☆☆
2.4/5 分(7 則評價)
3553 天前
最後更新
問題解決
v0.0.1 上架:2016-07-19

內容簡介

此外掛程式在網頁加載之前將圖片、CSS 和 JavaScript 內容嵌入或內聯到頁面中。這真正地提高了頁面加載速度得分,以及當網絡連接速度不佳、使用了服務器端緩存,或者兩者結合起來時,實際加載時間也會得到大幅改善。

常見的頁面加載速度測試工具會提示以下警告:

優化圖片
利用瀏覽器緩存
從靜態資源中刪除查詢字串
指定圖片尺寸
縮小 JavaScript 文件
縮小 HTML 文件
避免錯誤請求
在 meta 標籤中不要使用字符集
避免登陸頁面重定向
延遲解析 JavaScript
內聯小型 CSS 樣式
內聯小型 JavaScript 檔案
縮小 CSS 樣式表
減少請求大小
優化樣式和腳本的順序
將 CSS 樣式表置於文檔頭部
從一致的 URL 服務資源
使用縮放圖片的技術
不使用 CSS 的 @import
使用 CSS 精靈
使用內容分發網路(CDN)
減少 DOM 元素的數量
減少 HTTP 請求
縮小 JavaScript 和 CSS 資源的範圍
將 CSS 放在頂部
將 JavaScript 放在底部
避免 AlphaImageLoader(過濾器)
避免 CSS 表達式
減少 DNS 查詢次數

有些時候,某些警告仍然會出現,這是這個專案 https://github.com/aadel112/simple-thimble 的限制。注意到這些限制都在積極開發中以便修復。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WP Simple Thimble」→ 直接安裝(推薦)

原文外掛簡介

This plugin embeds or in-lines image/css/js content into the page before it’s loaded. This really improves page load speed scores, and can really improve actual load time if either the network connection is not blazingly fast, server side caching is used, or a combination of the two.
Warnings that are commonly eliminated in page load speed testing tools include
Optimize images
Leverage browser caching
Remove query strings from static resources
Specify image dimensions
Minify JavaScript
Minify HTML
Avoid bad requests
Avoid a character set in the meta tag
Avoid landing page redirects
Defer parsing of JavaScript
Inline small CSS
Inline small JavaScript
Minify CSS
Minimize request size
Optimize the order of styles and scripts
Put CSS in the document head
Serve resources from a consistent URL
Serve scaled images
Avoid CSS @import
Combine images using CSS sprites
Use a Content Delivery Network (CDN)
Reduce the number of DOM elements
Make fewer HTTP requests
Minify JavaScript and CSS
Put CSS at the top
Put JavaScript at bottom
Avoid AlphaImageLoader filter
Avoid CSS expressions
Reduce DNS lookups
The cases where some of these may still pop up would be a limitation of this project https://github.com/aadel112/simple-thimble, and you’ll note that these are all limitations that are actively being developed to be fixed.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon