Title: WP Inline Cacher
Author: ChrisBAshton
Published: <strong>2021 年 2 月 1 日</strong>
Last modified: 2021 年 2 月 1 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/wp-inline-cacher.svg)

# WP Inline Cacher

 由 [ChrisBAshton](https://profiles.wordpress.org/chrisbashton/) 開發

[下載](https://downloads.wordpress.org/plugin/wp-inline-cacher.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/wp-inline-cacher/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/wp-inline-cacher/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/wp-inline-cacher/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/wp-inline-cacher/#developers)

 [技術支援](https://wordpress.org/support/plugin/wp-inline-cacher/)

## 外掛說明

The inline cache methodology emphasises fast first page loads. It acts on the basis
that opening HTTP connections is slow, and that it is therefore faster for the resources
to be inlined, but that we also want to cache those resources so they don’t have
to be re-downloaded.

That’s what WP Inline Cacher does. It automatically renders your stylesheets inline
on first page load, and caches them in the background. On subsequent page loads,
the resources are no longer inlined – so your page weight is smaller – but are automatically
retrieved from cache.

See https://github.com/ChrisBAshton/inline-cache for more details.

### Contact

If you spot any issues, or want to know how to contribute, please visit https://
github.com/ChrisBAshton/wp-inline-Cacher.

Please note that I have open-sourced this plugin to give back to the community, 
and do not have much spare time to answer support queries, but I’ll help where I
can.

## 安裝方式

 1. Install the plugin through the WordPress plugins screen directly
 2. For now, you need to manually copy the ‘js/sw.js’ file to the root of your website
    directory, and name it ‘sw-inline-cacher.js’. Or you can edit your .htaccess file:
 3. RewriteRule ^inline-cache-sw.js$ wp-content/plugins/wp-inline-cacher/js/sw.js
 4. We hope to automate this step in a future update.
 5. Activate the plugin through the ‘Plugins’ screen in WordPress

## 常見問題集

### Which stylesheets does this apply to?

WP Inline Cacher will style any stylesheets that have been enqueued using `wp_enqueue_style`.

If your theme has any hard-coded link rel stylesheet tags, or hard-coded inline 
styles, then this plugin is unable to intercept them.

### Does this work for JavaScript?

Not yet, but in theory it could. Stay tuned for an updated plugin!

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈WP Inline Cacher〉的開發相關工作。

參與者

 *   [ ChrisBAshton ](https://profiles.wordpress.org/chrisbashton/)

[將〈WP Inline Cacher〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/wp-inline-cacher)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/wp-inline-cacher/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/wp-inline-cacher/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/wp-inline-cacher/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/wp-inline-cacher/)。

## 變更記錄

#### 1.0

 * Initial release

## 中繼資料

 *  版本 **0.1.0**
 *  最後更新 **6 年前**
 *  啟用安裝數 **少於 10 次**
 *  已測試相容的 WordPress 版本 **5.6.23**
 *  語言
 * [English (US)](https://wordpress.org/plugins/wp-inline-cacher/)
 * 標籤:
 * [caching](https://tw.wordpress.org/plugins/tags/caching/)[Fast](https://tw.wordpress.org/plugins/tags/fast/)
   [inline](https://tw.wordpress.org/plugins/tags/inline/)[performance](https://tw.wordpress.org/plugins/tags/performance/)
   [speed](https://tw.wordpress.org/plugins/tags/speed/)
 *  [進階檢視](https://tw.wordpress.org/plugins/wp-inline-cacher/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/wp-inline-cacher/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/wp-inline-cacher/reviews/)

## 參與者

 *   [ ChrisBAshton ](https://profiles.wordpress.org/chrisbashton/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/wp-inline-cacher/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://twitter.com/ChrisBAshton)