Title: WP Inline Cacher
Author: ChrisBAshton
Published: <strong>February 1, 2021</strong>
Last modified: February 1, 2021

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

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

# WP Inline Cacher

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

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

 * [Details](https://pcd.wordpress.org/plugins/wp-inline-cacher/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/wp-inline-cacher/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/wp-inline-cacher/#installation)
 * [Development](https://pcd.wordpress.org/plugins/wp-inline-cacher/#developers)

 [Support](https://wordpress.org/support/plugin/wp-inline-cacher/)

## Description

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.

## Installation

 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

## FAQ

### 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!

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WP Inline Cacher” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Translate “WP Inline Cacher” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-inline-cacher)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-inline-cacher/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-inline-cacher/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-inline-cacher/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-inline-cacher/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial release

## Meta

 *  Version **0.1.0**
 *  Last updated **5 years ago**
 *  Active installations **Fewer than 10**
 *  Tested up to **5.6.17**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-inline-cacher/)
 * Tags
 * [caching](https://pcd.wordpress.org/plugins/tags/caching/)[Fast](https://pcd.wordpress.org/plugins/tags/fast/)
   [inline](https://pcd.wordpress.org/plugins/tags/inline/)[performance](https://pcd.wordpress.org/plugins/tags/performance/)
   [speed](https://pcd.wordpress.org/plugins/tags/speed/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/wp-inline-cacher/advanced/)

## Ratings

No reviews have been submitted yet.

[Add my review](https://wordpress.org/support/plugin/wp-inline-cacher/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-inline-cacher/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-inline-cacher/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://twitter.com/ChrisBAshton)