Linux 软件免费装
Banner图

Koci Cache

开发者 kocimedia
更新时间 2026年11月17日 07:07
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

cache performance page cache lazy load minify

下载

1.1.0

详情介绍:

Koci Cache saves every page as a static HTML file and serves it before WordPress loads (through the standard advanced-cache.php drop-in), so most visitors get the page without PHP and database work. Everything beyond the page cache is off by default and can be switched on one by one. Why another cache plugin? Features Every optimization keeps the original markup when anything goes wrong: a failed step can never break or empty a page. ?nokoci=1 shows a page without optimization for testing. How it works, what it changes Privacy The plugin does not track visitors, does not set cookies and does not send any data anywhere. Pages are only cached for visitors who are not logged in and have no cart, so cached files contain public pages only. External services Only when you switch on Google Fonts self-host (Media tab, off by default): when a page uses Google Fonts, your server downloads the Google Fonts stylesheet from https://fonts.googleapis.com and the font files it refers to from https://fonts.gstatic.com once, and serves them from your own site afterwards, so the visitors' browsers no longer connect to Google. The request sends your server's IP address and a browser user agent (to get the WOFF2 files). Google Fonts: https://developers.google.com/fonts – Terms: https://policies.google.com/terms – Privacy: https://policies.google.com/privacy The cache preload only requests pages and sitemaps of your own site. Third-party libraries CSS and JavaScript minification uses matthiasmullie/minify (MIT license, https://github.com/matthiasmullie/minify) and matthiasmullie/path-converter (MIT license, https://github.com/matthiasmullie/path-converter). Their source files are in the vendor folder (see composer.json), with their licenses. For developers

安装:

  1. Install the plugin from the Plugins > Add New screen, or upload the plugin folder to /wp-content/plugins/, then activate it.
  2. Open Koci Cache > Overview. All status rows should be green; if not, click "Repair installation" and follow the message.
  3. The page cache works right away. Switch on the optimizations you need one by one, and check your site after each one.

屏幕截图:

  • The cache settings.
  • The CSS and JavaScript optimization settings.
  • The media settings (lazyload, image dimensions, fonts).

常见问题:

How do I see that a page comes from the cache?

Open the page in a private window (you must be logged out) and look at the source: cached pages end with a <!-- Koci Cache: generated … --> comment, and the response has an X-Koci-Cache: HIT header.

The status shows that serving is not active.

Usually another cache plugin's advanced-cache.php is in wp-content, wp-config.php already has a WP_CACHE line from another plugin, or the files are not writable. The Overview tab tells which one; deactivate the other cache plugin and click "Repair installation".

Something looks broken after switching on an optimization.

Open the page with ?nokoci=1 to compare. Then add the affected file (a part of its URL) to the exclusions of that optimization, or switch it off. Delay and combine need the most testing.

Is WooCommerce supported?

Yes. Cart, checkout and account pages, and visitors with items in the cart, are never cached; product changes clear the product page, the shop page and the product categories.

更新日志:

1.1.0 1.0.7 1.0.6 1.0.0