前言介紹
- 這款 WordPress 外掛「SQLite Cache」是 2015-05-20 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2016-07-01,距離現在已有 3229 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.8.1 以上版本才可以安裝。
- 有 2 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
andreyk |
外掛標籤
cache | SQLite | performance |
內容簡介
當第一次請求到特定的 URL 時,整個網頁的 HTML 原始碼會被存儲在 SQLite 資料庫中。當對同一頁面進行下一次請求時,WordPress 核心將不會被加載,而是從 SQLite 儲存的內容擷取頁面,因此 PHP 執行時間可減少數十倍。
在同一 Web 伺服器上的多個網站可以使用共同的 SQLite 儲存。與 WordPress 多站點相容。需要 PHP SQLite PDO。
與生成靜態 HTML 頁面的外掛程序相比,此外掛程序不會建立多個目錄和 HTML 檔案,而是將所有生成的頁面儲存在一個檔案中。此外,在同一 Web 伺服器上的許多 WordPress 網站可以使用共同的 SQLite 儲存。保留 404、301、302、304 HTTP 狀態,可選支援 ETag、Expires、Content-Length、Content-Type(含字符集)標頭。
由於快取腳本不加載 WordPress 核心,它如何保存其設置?
要使外掛程式運作,您需要在 WordPress 安裝目錄的 index.php 中定義 SQLite 儲存位置(注意,不是在 wp-config.php 中,而是在 index.php 中)。除了 SQLite 檔案外,此目錄還包含一個常規設置檔案(壓縮設置)和一個用於每個域的子資料夾設置。在管理區域(外掛程式設定頁面)中並且在停用後仍能記住快取位置,WordPress 選項 litecache_path 會被使用。
此外掛如何處理具有和不具有「www.」前綴的網址?
「www.」前綴的存在已在「設定」-「常規」中定義。外掛程式將在快取目錄中的 domains/yourdomain.ini 檔案中儲存 with_www 參數並相應地重新導向請求;這些重新導向在使用快取之前進行處理。
此外掛是否相容於 WordPress 多站點?
是的,但僅適用於子網域模式(blogname.example.com),不適用於 example.com/blogname。多站點網絡的超級管理員可以訪問第一個設置表單(快取位置),網站管理員可以訪問第二個表單和清除表單。
原文外掛簡介
On first request to a given URL whole html code of a page is being stored in
the SQLite database. On next requests to the same page WordPress core will
not be loaded at all but the content of a page will be retrieved from the
the SQLite storage therefore duration of PHP execution decreases in dozen
of times.
Many sites on the same webserver may use common SQLite storage.
Compatible with WordPress Multisite. Requires PHP SQLite PDO.
In comparison with plugins generating static html pages this plugin does not
create multiple directories and html files but stores all generated pages
in one file. Moreover, many wordpress sites on the same webserver may use
common SQLite storage. Keeps 404, 301, 302, 304 HTTP statuses, optionally
supports ETag, Expires, Content-Length, Content-Type (with charset) headers.
As the cache script doesn’t load the WordPress core where does it save it’s settings?
To get the plugin working you need to define the SQLite storage location in
the index.php of the wordpress installation directory (note, not in wp-config.php
but index.php). Besides of the SQLite file, this directory contains general
settings file (compression setting) and a subfolder for per domain settings.
In the admin area (plugin setting page) and to remember after deactivation where
the cache located, litecache_path WordPress option is used.
How the plugin handles URLs with and without `www.` prefix?
The presence of www. prefix is defined in Settings – General.
The plugin stores with_www parameter in domains/yourdomain.ini file in the
cache directory and redirects requests correspondingly; these redirects are
being processed before cache usage.
Is it WordPress Multisite compatible?
Yes, but for subdomains mode only (blogname.example.com), not for
example.com/blogname. A superadmin of a multisite network has access to
the first setting form (cache location), blog admins have access to the
second form and purge form.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「SQLite Cache」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
WP Super Cache 》本外掛可以從您的動態 WordPress 部落格生成靜態 HTML 檔案。在產生 HTML 檔案後,您的網頁伺服器會傳送該檔案,而不是處理比較沉重、耗費更多資源的 WordPre...。
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance 》WP-Optimize Cache 是一個革命性的、全方位的 WordPress 效能外掛,將您的網站做快取、清理資料庫及圖片壓縮,讓您的網站快速且最佳化。我們的快取功能是建構...。
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...。
SpeedyCache – Cache, Optimization, Performance 》SpeedyCache 是一款 WordPress 外掛,能透過網頁快取、最小化檔案和檔案壓縮的方式,幫助您減少網站載入時間。, 您可以在 https://speedycache.com/docs 找到...。
Breeze – WordPress Cache Plugin 》Breeze是由Cloudways團隊開發的一款免費、簡單(卻功能強大)且使用者友好的WordPress快取外掛。它提供不同層級的WordPress效能優化選項,在WordPress、搭配W...。
Jetpack Boost – Website Speed, Performance and Critical CSS 》使用 Jetpack Boost 優化網頁性能加速你的 WordPress 網站。輕鬆啟用一鍵優化,提升核心 Web 重要指標。, 你是否知道,更快的網站可以:, , 在 Google 搜尋排...。
OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy. 》, 使用 Google 的字型服務,怎麼可能與 GDPR 不符呢?事實上,當使用者的瀏覽器要求字型時,他們的 IP 會被 Google 記錄並用於分析。, — Lifehacker, , OMG...。
10Web Booster – Website speed optimization, Cache & Page Speed optimizer 》10Web Booster 是提升網站整體效能的速度優化外掛程式,讓您專注並蓬勃發展 WordPress 網站的創意方面,同時讓我們專心於 WordPress 效能最佳化。透過 10Web ...。
NitroPack – Caching & Speed Optimization for Core Web Vitals, Defer CSS & JS, Lazy load Images and CDN 》NitroPack 是一個全方位的網站效能優化服務外掛,它包含了所有使網站加速所需的功能,包括圖片優化、代碼壓縮、快取、CDN (內容交付網路)、延遲載入等等。, ,...。
Hummingbird Performance – Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN 》Hummingbird 透過添加細調控制文件壓縮、延後 CSS 和 JavaScript 樣式和腳本、CSS 和 JS 壓縮,以及懶加載等全球最佳緩存優化方法,讓您的網站更快,並優化網...。
Cache Enabler 》Cache Enabler 是個簡單卻強大的 WordPress 快取外掛,使用起來簡單且只需要最小化的設定,最重要的是能夠幫助網站提升效能來達到更快的載入時間。它會將前端...。
Aruba HiSpeed Cache 》Aruba HiSpeed Cache 是一個外掛,直接與 HiSpeed Cache 服務介面互動,該服務適用於 Aruba 主機平台,並能在 WordPress 儀表板中自動管理,無需訪問網站控制...。
Recent Tweets Widget 》查看最新的 WordPress 外掛優惠。, 使用快取的 Twitter API v1.1 最新的 Recent Tweets Widget (最近的 Tweet 外掛)。它使用新版 Twitter API v1.1,並將 Twe...。
Clearfy Cache – WordPress optimization plugin, Minify HTML, CSS & JS, Defer 》數千個使用者已經使用 Clearfy 外掛優化他們的 WordPress 網站。這是一個綜合且免費的工具,擁有豐富的設定。搭配其他外掛使用,可以讓您的 WordPress 網站更...。
Seraphinite Accelerator 》這個外掛可以加速您的網站,使其更具吸引力和搜索引擎友好性。詳細了解如何使用。, 若要使用免費的額外功能,請按照屏幕上的外掛程式指示安裝免費的延伸外掛...。