WordPress.org

Ready to get started?Download WordPress

Plugin Directory

FragmentCache

Boost your page performance by caching individual page fragments. Works with logged-in users too!

There are a lot of great caching plugins out there, but this one solves a very particular need that none of the rest are doing. It allows you to cache particular sections of your page, using a technique known as "fragment caching", which is readily available in other frameworks such as Ruby on Rails. The key benefit here: you can cache content for logged-in users! This is the main limitation of most other caching plugins, which is where the need for this solution came about. There are a couple of reasons this works:

  • You will only be caching certain sections of the page. Some sections of the page may be the same whether you're logged in or out, so you can cache those universally.
  • You can use a flag to determine whether you'd like to cache the content for logged-in users or anonymous users (the default). Note, just like any caching solution, this will never work for customized content that is particular to each user! But, if your page has a section that displays one version of the content for all logged-in users, and one version for anonymous users, then you can fragment cache that section of your page.

Note: Enabling this plugin does not automatically do anything for you -- you will still have to edit your templates in order to take advantage. So this is not as much of a plug-n-play solution as some of the other cache plugins, this is more of an advanced plugin for people who know some basic PHP and how to edit their template code.

Requires: 3.0.1 or higher
Compatible up to: 3.6.1
Last Updated: 2013-12-4
Downloads: 313

Ratings

5 stars
5 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1