WP Fragment Cache
This plugin requires PHP version 5.3.6 or greater and can’t be activated without a persistent backend for the WordPress Object Cache.
Consider an alternative
WP Fragment Cache shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 12 years ago, and scores 23/100 on our health check.
- Small user base (10+ active installs)
- Very few reviews so far
- No update in 12 years
- Only tested up to WordPress 3.9 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where WP Fragment Cache stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| cache | >100 |
| cache block | >100 |
| caching | >100 |
| output caching | >100 |
| performance | >100 |
Version adoption
Share of active sites per release.
About WP Fragment Cache
From the official readme · v1.0.4Description
This plugin requires PHP version 5.3.6 or greater and can’t be activated without a persistent backend for the WordPress Object Cache.
Adds ability to cache particular sections of your site. This plugin is for people who can’t use a full page cache or for sites with lots of pages and with frequent changes.
It can cache entire loops with the WP_Query(bypassing the database queries) or only the html output of the loop and if the query results has changed(comment added, post was edited, postmeta has changed …) the cache will be invalidated and regenerated.
Example usage:
<?php if ( ! WP_Fragment_Cache::output( $wp_query_or_blockname, $duration ) ): ?>
//content to be cached
<?php WP_Fragment_Cache::store(); ?>
<?php endif; ?>
Parameters:
$wp_query_or_blockname
(mixed/string) (optional) a WP_Query(WP_Comment_Query) result or a string.
Default: the file and the line where the call was initiated(e.g. widgets/most-commented.php:18).
$duration
(int/string) (optional) Defines how many seconds to keep the cache for. If you pass 0 the cache will not expire. If you pass the string “only_today” the cache will expire at the end of the current day. You can use WordPress Time Constants.
Default: 86400 (one day).
Advanced usage:
See the wiki pages on GitHub
Installation
- You should have a persistent backend for the WordPress Object Cache enabled. This plugin can’t be activated without a persistent cache.
- Download the plugin and unzip.
- Upload them to
/wp-content/plugins/directory on your WordPress installation. - Then activate the WP Fragment Cache plugin from Plugins page.
- Edit your template files to include WP Fragment Cache. See the Description tab
Changelog
1.0.4
- PHP 5.3 compatibility fix.
- Make PHP version 5.3.6 minimal requirement.
1.0.3
- Fix example usage code block.
1.0.2
- Improve the description of the persistent cache requirement to avoid any confusion.
1.0.1
- Add README and CHANGELOG.
- Add link for Advanced usage.
1.0.0
- Initial release.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best WP Fragment Cache alternatives
All cache plugins →FAQ
WP Fragment Cache: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org · checked Oct 9, 2026
Is WP Fragment Cache free?
Yes. WP Fragment Cache is free to download and use from the official WordPress.org plugin directory.
Is WP Fragment Cache safe to use in 2026?
WP Fragment Cache shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 12 years ago, and scores 23/100 on our health check.
How many websites use WP Fragment Cache?
WP Fragment Cache is active on 10+ WordPress websites and has been downloaded 2,216 times since it launched in April 2014. It was downloaded 70 times in the last 30 days.
Does WP Fragment Cache work with WordPress 7.1?
WP Fragment Cache is officially tested up to WordPress 3.9.40, while the latest release is 7.1.3. It may still work, but try it on a staging site first.
When was WP Fragment Cache last updated?
The latest version, 1.0.4, was released on June 18, 2014 (12 years ago).
Who makes WP Fragment Cache?
WP Fragment Cache is developed and maintained by mariuspass.
What are the best alternatives to WP Fragment Cache?
The most popular alternatives to WP Fragment Cache are WP Super Cache (1M+ installs), WP Fastest Cache (1M+ installs) and WP-Optimize (1M+ installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org — no credit card