[WordPress] 外掛分享: YASAKANI Cache

首頁外掛目錄 › YASAKANI Cache
10+
安裝啟用
★★★★★
5/5 分(7 則評價)
262 天前
最後更新
問題解決
WordPress 6.0+ PHP 8.1+ v3.9.7 上架:2016-08-18

內容簡介

這個外掛可以將動態產生的 WordPress 部落格網頁以 SQLite 儲存器方式儲存為頁面快取。快取機制可以在不啟動 WordPress 處理程序的情況下,使用快取回應超高速的請求。

簡單的設置

啟用頁面快取,選擇快取過期時間。

快取排除條件

使用者

登入的使用者

頁面

首頁/靜態首頁、固定頁面、文章、自訂文章和 WordPress 內嵌內容卡片。其他頁面不進行快取。
您可以在編輯畫面的元框中指定不進行快取的頁面。
受密碼保護的頁面不進行快取。
發生 PHP 錯誤(不包括 E_NOTICE,E_STRICT,E_DEPRECATED)的頁面不進行快取。

清除快取

在文章中清除相應文章的快取以及編輯更改和留言等。
外掛和小工具等的更改不會清除快取。如果更改這些配置,應該使用 「清除快取」按鈕進行清除。

日誌

啟用日誌後,您可以輕鬆查看快取的行為和執行時間。(僅稍微變慢)
SQLite 資料庫保留一周的日誌。

進一步加速

此外掛的頁面快取處理程序是使用 PHP 和 SQLite 處理的。
您還可以使用更快的 「專家模式」。若要使用專家模式,您需要編輯 「php.ini」,並添加「auto_prepend_file」。
或者您可以編輯「.htaccess」文件,使用 mod_deflate、mod_expires 或 mod_pagespeed 等功能,以加快執行速度。
如果您進行 .htaccess 編輯,請從有經驗的人員開始。別忘了備份您的 .htaccess 文件。

為了提高速度,也建議使用 外掛載入過濾器,以避免使用快取。

有關更詳細的信息,請查看介紹頁面。

文件

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.9.7) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「YASAKANI Cache」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plug-in stores the Page HTML / REST json data that dynamic WordPress blog has been generated as a output cache by SQLite. After the cache, it can respond to the request to the ultra-high speed by using a cache without starting the WordPress of processing.
In the case of REST API, caching is also performed for internal requests made by logged-in block editors, etc.
Simple Setup

Enable the cache, select the cache expiration.

Cache exclusion condition
Pages

Login user
Home/Front_page, Fixed Page, Post, Custom Post and WP embedded content card only. Other than this page does not cache.
Page you want to exclude from the cache, you can specify from the edit screen of the meta box.
Pages that are protected by a password does not cache.
PHP error (excluding E_NOTICE, E_STRICT, E_DEPRECATED) occurred page does not cache.

REST API

REST method is other than GET or OPTIONS
REST no data response
REST route endpoint you want to exclude from the cache, you can specify from the edit screen of the meta box.
REST error response
PHP error (excluding E_NOTICE, E_STRICT, E_DEPRECATED) occurred page does not cache.

Cache Clear

Clear the cache of automatically corresponding post in the articles and editing changes and the like of the comment.
The cache is a plugins and widgets such as a change is not clear. If you make these configuration changes, etc., should be cleared to use “Cache Clear” button.

Log

When you activate the log, you can easily check the behavior and execution time of the cache. (slower only a little)
SQLite database keeps logs for one week.

To further speed-up
Page cache processing of this plugin is processing in PHP and SQLite.
You can also use a faster Expert mode. To use Expert mode you need to edit ‘php.ini’ and add auto_prepend_file.
Or you can edit the .htaccess file and use mod_deflate and mod_expires or mod_pagespeed etc to make it faster.
If you do .htaccess edit, edit from the well studied. Do not forget that you back up your .htaccess file.
plugin load filter is also recommended for speed you do not use the cache.
For more detailed information, there is an introduction page.
Documentation

文章
Filter
Apply Filters
Mastodon