Title: Prefetch URLs Manifest Generator for Cloudflare
Author: Kevin Kyburz (@swissky)
Published: <strong>July 27, 2025</strong>
Last modified: August 17, 2025

---

Search plugins

![](https://ps.w.org/cf-prefetch-manifest-generator/assets/banner-772x250.png?rev
=3334922)

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://ps.w.org/cf-prefetch-manifest-generator/assets/icon-256x256.png?rev=
3334901)

# Prefetch URLs Manifest Generator for Cloudflare

 By [Kevin Kyburz (@swissky)](https://profiles.wordpress.org/swissky/)

[Download](https://downloads.wordpress.org/plugin/cf-prefetch-manifest-generator.1.2.0.zip)

 * [Details](https://vec.wordpress.org/plugins/cf-prefetch-manifest-generator/#description)
 * [Reviews](https://vec.wordpress.org/plugins/cf-prefetch-manifest-generator/#reviews)
 *  [Installation](https://vec.wordpress.org/plugins/cf-prefetch-manifest-generator/#installation)
 * [Development](https://vec.wordpress.org/plugins/cf-prefetch-manifest-generator/#developers)

 [Support](https://wordpress.org/support/plugin/cf-prefetch-manifest-generator/)

## Description

Prefetch Manifests helps you get the most out of [Cloudflare Prefetch URLs](https://developers.cloudflare.com/speed/optimization/content/prefetch-urls/)–
and modern browsers – by automatically generating manifest files of all scripts 
and styles loaded by WordPress, and adding HTTP Link headers to point to these manifests.
This enables Cloudflare to prefetch your site’s critical assets, resulting in faster
page loads and improved visitor experience.

**Note:** Cloudflare Prefetch URLs is only available for **Cloudflare Enterprise**
customers. If you do not have a Cloudflare Enterprise plan, we recommend using [FlyingPress together with FlyingCDN](https://flyingpress.com/?ref=bcsu)
for excellent performance optimization and automatic asset preloading on all hosting
plans.

### The following hosting providers do not offer “Prefetch URLs” despite Cloudflare Enterprise:

➜ rocket.net
 ➜ Cloudways

### Other hosting providers which support “Prefetch URLs”

➜ [Servebolt with Accelerated Domains](https://servebolt.com/)

**How it works:**
 – The plugin scans all enqueued scripts and styles on every page.–
It writes their URLs into two manifest files: one for scripts, one for styles. –
These manifest files are saved in your uploads directory (e.g. `/wp-content/uploads/
prefetch/manifest-script.txt`). – On every page load, the plugin adds HTTP Link 
headers referencing the manifest files, as recommended by Cloudflare. – Cloudflare(
and other supporting systems) can now prefetch your assets efficiently.

### Benefits using Prefetch URLs from Cloudflare

 * **Boosts performance:** Cloudflare and browsers can preload assets before users
   request them, making navigation feel instant.
 * **Automatic & maintenance-free:** No manual configuration required – just activate
   the plugin and you’re set.
 * **Perfect for Cloudflare:** Uses exactly the approach [Cloudflare Prefetch URLs](https://developers.cloudflare.com/speed/optimization/content/prefetch-urls/)
   recommends, with manifest files and HTTP Link headers.
 * **Standards-compliant:** Uses the HTTP Link header and simple, readable manifest
   files in text format.
 * **No bloat:** Does not change your site content, only provides optimized hints
   for CDNs and browsers.

### Prefetch vs Preload: What’s the difference?

Cloudflare Prefetch URLs is an advanced feature that lets you provide Cloudflare
with a list of important URLs—like scripts, styles, or your own files—using manifest
files and special HTTP Link headers. Cloudflare then prefetches these assets at 
the edge, so when visitors arrive, resources are already primed in the CDN cache,
making your site feel lightning-fast. Prefetch manifests are especially powerful
for making the next page load feel instant, even before a user clicks.

Preload links (e.g., ) are a standard browser feature. They tell the browser to 
fetch a specific asset (script, style, font, etc.) as soon as possible on the current
page, speeding up render time or interactivity. Preload is only for assets needed
by the currently loaded page and does not prepare the CDN edge for subsequent navigation.

**In summary:**
 – **Cloudflare Prefetch URLs:** Optimizes asset delivery at the
CDN level, prefetching files for future pageviews and making your whole site more
responsive—especially for returning visitors. – **Preload links:** Help browsers
load critical assets for the current page faster, improving first render and user
experience, but do not influence the CDN cache for upcoming navigations.

You can (and often should) use both strategies together for maximum speed!

### License

This plugin is free software, released under the terms of the GNU General Public
License version 2 or later.

## Installation

 1. Upload the plugin to your WordPress plugins directory, or install via the admin
    dashboard.
 2. Activate the plugin.
 3. Open **Tools  Prefetch URLs** in your WordPress admin to access:
 4.  * Your auto-generated manifest download links (scripts, styles, fonts, custom)
     * The “Custom URLs” field (add images, files, or other assets for prefetching)
     * The “Generate Manifest” button for instant manual update
     * The “Log” tab to review manifest build history
 5. No further configuration needed! The manifest files and HTTP Link headers are managed
    automatically.

## FAQ

### Where are the manifest files?

They’re in your `wp-content/uploads/prefetch/` directory.

### Will this change my site’s HTML?

No. The plugin only adds HTTP Link headers, it does not modify your site’s markup.

### Do I need to configure Cloudflare?

You only need to enable Prefetch URLs in your Cloudflare dashboard.
 **Important:**
Cloudflare Prefetch URLs requires a Cloudflare Enterprise account. For non-Enterprise
users, we recommend [FlyingPress with FlyingCDN](https://flyingpress.com/?ref=bcsu)
or [Cloudways](https://shareasale.com/r.cfm?b=1080835&u=1690893&m=75038&urllink=&afftrack=).

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Prefetch URLs Manifest Generator for Cloudflare” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ Kevin Kyburz (@swissky) ](https://profiles.wordpress.org/swissky/)

[Translate “Prefetch URLs Manifest Generator for Cloudflare” into your language.](https://translate.wordpress.org/projects/wp-plugins/cf-prefetch-manifest-generator)

### Interested in development?

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

## Changelog

#### 1.2.0

 * Performance: Rewrote font extraction to read local CSS from the filesystem (no
   HTTP), added transient caching keyed by ?ver/filemtime, 512 KB safety limit, 
   and 1s timeout for rare external CSS – massive CPU/I/O reduction.
 * Performance: De-duplicated all manifest entries and reduced unnecessary writes;
   logging only when a manifest truly changes.
 * UI/UX: New sticky header with compact “Generate Manifest” button; refined tab
   design (uppercase labels, yellow active underline #FFBE15, cleaner spacing/colors).
 * Admin: Custom URLs save flow now uses PRG redirect and rebuilds manifests immediately;
   always-visible helper text aligned with the button.
 * Headers: Ensures `manifest-custom.txt` is also delivered via HTTP Link header
   alongside scripts/styles/fonts.
 * Reliability: Safer URL normalization and internal-only filtering across all manifests;
   version appending for cache busting preserved.

#### 1.1.0

 * Plugin name and branding updated: Now “Prefetch URLs Manifest Generator for Cloudflare”
 * New: Tools  Prefetch URLs page in the WordPress admin
 * New: Four types of manifests are now generated: scripts, styles, fonts, and custom
   URLs
 * New: “Custom URLs” field (add your own critical files for prefetch, like logos,
   PDFs, SVGs)
 * New: “Generate Manifest” and “Save Custom URLs” buttons – now with instant feedback
 * New: Build Log tab – shows last 5 manifest builds, with green/red status
 * Improved: Design
 * Improved: Only unique (de-duplicated) entries in manifests
 * Improved: Cron-based automatic rebuilding (hourly) and manual “Generate” in admin

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.2.0**
 *  Last updated **1 year ago**
 *  Active installations **10+**
 *  WordPress version ** 5.2 or higher **
 *  Tested up to **6.8.8**
 *  PHP version ** 7.2 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/cf-prefetch-manifest-generator/)
 * Tags
 * [cloudflare](https://vec.wordpress.org/plugins/tags/cloudflare/)[manifest](https://vec.wordpress.org/plugins/tags/manifest/)
   [optimization](https://vec.wordpress.org/plugins/tags/optimization/)[performance](https://vec.wordpress.org/plugins/tags/performance/)
   [prefetch](https://vec.wordpress.org/plugins/tags/prefetch/)
 *  [Advanced View](https://vec.wordpress.org/plugins/cf-prefetch-manifest-generator/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/cf-prefetch-manifest-generator/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cf-prefetch-manifest-generator/reviews/)

## Contributors

 *   [ Kevin Kyburz (@swissky) ](https://profiles.wordpress.org/swissky/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cf-prefetch-manifest-generator/)