Àpèjúwe
The plugin is an improved version of the “Cloudflare Page Cache” plugin. The plugin does not cache pages for logged-in users by default. You can disable caching for some URLs and for users with certain cookies (use the constants BYPASS_COOKIES_EXTRA and NON_CACHEABLE_URLS_EXTRA for the settings).
For the plugin to work, you need to have a Cloudflare account with special settings. To purge the cache by the button, you need to set Cloudflare API settings in the plugin (CF_EMAIL Ìtumọ̀ Yorùbá: – From https://dash.cloudflare.com/profile, CF_API_KEY Ìtumọ̀ Yorùbá: – Global API Key from https://dash.cloudflare.com/profile, CF_ACCOUNT_ID, CF_NAMESPACE_ID).
In the Сloudflare account, you need to create a worker, for details go https://github.com/palessit/cloudflare-cache-page. The plugin can preload cache on Cloudflare.
Ìgbéwọlẹ̀
You can install the plugin from the WordPress Dashboard:
Ìtumọ̀ Yorùbá: – Visit “Plugins” Add New;
Ìtumọ̀ Yorùbá: – Search for “Page Cache on Cloudflare”
Ìtumọ̀ Yorùbá: – Download and activate the plugin
Ìtumọ̀ Yorùbá: – Set Cloudflare API settings CF_EMAIL, CF_API_KEY, CF_ACCOUNT_ID, CF_NAMESPACE_ID. Use environment variables or edit the file inc/cf-page-cache.php.
Ìtumọ̀ Yorùbá: – Set the constans BYPASS_COOKIES_EXTRA (eg “wp-|wordpress”) and NON_CACHEABLE_URLS_EXTRA (eg “/dist/|/go/|/tours”) if you need. Use environment variables or edit the file inc/cf-page-cache.php.
Ìtumọ̀ Yorùbá: – To manage preload cache use environment variables or edit the file inc/cfpc-class-preload-cache.php. If you need disable preload cache then set variable CF_IS_PRELOAD_CACHE as false and deactivate-activate plugin. To define how many page per minute will be cached use variable CF_PRELOAD_CACHE_PAGE_PER_MINUTE (by default 50 pages per minute).
FAQ
- A question that someone might have
Àwọn àgbéyẹ̀wò
Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.
Àwọn Olùkópa & Olùgbéejáde
“Page Cache on Cloudflare” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.
Àwọn OlùkópaTúmọ̀ “Page Cache on Cloudflare” sí èdè rẹ.
Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?
Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.