Open Source WordPress Plugin Cloudflare Workers Static Assets

Turn WordPress into an Edge-Fast Static Site in One Click.

Build locally in WordPress (even with LocalWP & Elementor) and deploy static HTML directly to Cloudflare's global edge via REST API — no GitHub Actions, Node.js, or Wrangler CLI required.

100% Free & GPLv2+
Zero Hosting Cost on CF Free Tier
WordPress 5.0+ / PHP 7.4+
mysite.local/wp-admin/admin.php?page=wappress
Workers Static Assets
WapPress WordPress admin dashboard with one-click Push to Live controls and real-time deployment terminal
Local-to-Edge Workflow

From Local WordPress to Cloudflare Edge in 3 Steps

Keep WordPress safe on your laptop or private server. WapPress handles static crawling, URL rewriting, asset optimization, and direct Cloudflare Workers Static Assets deployment.

LocalWP to Cloudflare Edge deployment workflow powered by WapPress
LocalWP / Staging → Cloudflare REST API Workers Static Assets
01 /

Install & Connect

Upload WapPress to your WordPress site and paste your Cloudflare API Token in the 2-step automated setup wizard. Create or select a Cloudflare Worker — done.

02 /

Export & Optimize

WapPress crawls pages, multilingual routes, Elementor runtime assets, sitemaps, and 404.html, applying built-in performance optimizations automatically.

03 /

Push to Cloudflare Edge

Hash-based direct upload deploys only changed files to Cloudflare Workers Static Assets in seconds, with a live deployment terminal and custom domain attachment.

Core Capabilities

Built for Real-World WordPress Production

Every feature ships in the free, open-source plugin. No paywalls, no external build pipelines, and no CLI tooling required.

01

Direct Upload & Hash Deduplication

Uses Cloudflare's 4-step Static Assets upload API so only changed files are uploaded. Includes automatic exponential-backoff retries on transient 429/5xx errors, a 25 MiB per-file guard, and a live deployment terminal with 504 timeout resilience.

[wappress] Manifest hashed: 312 files (14 changed, 298 cached)
[upload] Direct upload via Cloudflare Static Assets API (25 MiB guard OK)
[edge] Worker version deployed • Push to Live complete
02

Zero-Config Multilingual

Automatically detects Polylang, WPML, and TranslatePress (directory URL mode /en/, /id/). Exports localized homepages, posts, pages, CPTs, and taxonomy archives while preserving SEO hreflang tags.

Polylang WPML TranslatePress hreflang
03

Elementor & .local Auto-Rewriting

Rewrites plain, JSON-escaped (https:\/\/), and URL-encoded .local / localhost URLs inside elementorFrontendConfig and data-settings. Automatically bundles required Elementor & Elementor Pro frontend runtime JS/CSS chunks without admin/editor bloat.

LocalWP Ready Elementor + Pro Runtime Bundling
04

Smart Not Found (404) Worker Routing

Control missing-route behavior directly via Cloudflare Worker bindings: serve your theme's native 404.html (HTTP 404), redirect cleanly to your homepage, or serve any custom WordPress page.

404.html (HTTP 404) Homepage Redirect Custom WP Page
05

Auto Deploy & Custom Domains

Automatically exports and redeploys whenever posts, pages, or custom post types are published or updated — refreshing all translated variants too. Attach Cloudflare-managed custom domains directly to the Worker, or run Generate Static Only anytime.

Auto Deploy Custom Domain Binding Generate Static Only
06

Native GitHub Auto-Updater

Receive native update notifications directly on the WordPress Plugins page and apply 1-click updates straight from GitHub Releases, backed by a rate-limit-proof redirect fallback.

WP Plugins Page 1-Click Updates Rate-Limit Fallback
Serverless Dynamic Capabilities

Static Forms Without PHP or MySQL

Keep using your favorite WordPress form plugins on a static site. WapPress intercepts submissions at the edge via POST /_wappress/form inside your Cloudflare Worker.

01 • Browser

WordPress Form

CF7, WPForms, Elementor Forms, Fluent Forms, Gravity Forms, or standard HTML forms.

02 • Endpoint

POST /_wappress/form

Auto-intercepted submission payload including multipart file upload attachments.

03 • Cloudflare Worker

Anti-Spam & Validation

Built-in Honeypot, optional Cloudflare Turnstile verification, and encrypted secret_text bindings.

04 • Delivery

Email or Webhook

Delivers via Resend, Brevo, Mailgun (US/EU), or a Custom Webhook (JSON POST).

File Upload Attachments

Accept real file uploads on static forms — up to 5 files, 5 MB per file, and 10 MB total per submission, with dangerous-extension blocking enforced on the Worker.

max: 5 files • 5 MB/file • 10 MB total

Encrypted Secret Bindings

API keys for Resend, Brevo, Mailgun, webhooks, and Turnstile are stored as encrypted Cloudflare Worker secret_text bindings — never exposed in exported HTML or client JS.

type: secret_text

Built-in Test Email & Anti-Spam

Verify delivery directly from WP Admin using Send Test Email, while keeping bots out with zero-config Honeypot protection and optional Cloudflare Turnstile.

Honeypot + Turnstile Ready
Built-in Optimization Engine

10 Performance Optimizations Included

Every optimization ships in the free plugin. Safe defaults run out of the box, while aggressive transforms remain opt-in.

Safe by Default On by default Opt-in Toggle in Settings
01

HTML Minification

Strips unnecessary whitespace and HTML comments while preserving <pre>, <script>, and <style> blocks.

Safe by Default
02

Google Fonts Optimization

Adds preconnect hints, enforces display=swap, and supports self-hosting font files on Cloudflare Edge.

Safe by Default
03

External Asset Cache

Self-hosts external CDN CSS, JS, and font assets directly on Cloudflare Edge for lower latency and fewer third-party lookups.

Safe by Default
04

CLS Optimization

Prevents layout shift with image aspect-ratio hints, responsive video/iframe wrappers, and font-display: swap.

Safe by Default
05

Immutable Static Cache Headers

Generates an edge-ready _headers file with immutable caching for static assets and fast revalidation for HTML.

Safe by Default
06

Async CSS Loading

Loads non-critical stylesheets asynchronously to eliminate render-blocking CSS on first paint.

Opt-in
07

Defer JavaScript

Appends defer to external scripts so HTML parsing finishes without blocking rendering.

Opt-in
08

YouTube Lazy Loading

Replaces heavy YouTube embeds with lightweight click-to-play preview thumbnails until interaction.

Opt-in
09

Cookie Consent Banner

Lightweight consent banner with third-party script gating until visitors grant permission.

Opt-in
10

Custom Asset Paths

Manually include extra files — PDFs, custom fonts, XSL sitemaps, or unlinked assets — in every static export.

Opt-in
Requirements & Quick Start

Minimal Setup, Exact Permissions

No Node.js, no GitHub repository, and no CLI installation. All you need is a standard WordPress environment and a scoped Cloudflare API Token.

Environment Requirements

WordPress 5.0+
PHP 7.4+
Cloudflare Account Free or Paid
Build Tools Required None

Cloudflare API Token Permissions

Workers Scripts: Edit Required — deploys Static Assets & Worker script
Account Settings: Read Required — verifies account & Workers subdomain
Zone: Read Optional — needed for Custom Domain attachment
Workers Routes: Edit Optional — binds Custom Domains to your Worker
FAQ

Frequently Asked Questions

Straight answers about architecture, compatibility, and updates.

Yes. WapPress is 100% free and open-source under the GPL v2 or later license. There is no Pro tier, no paywall, and no license keys — every feature including Static Forms, Multilingual support, and all 10 performance optimizations is included for free.
No. WapPress communicates directly with the Cloudflare Workers Static Assets REST API from inside PHP/WordPress. You don't need GitHub Actions, Node.js, npm, or Wrangler CLI installed anywhere.
Yes. WapPress includes a serverless form handler at POST /_wappress/form that automatically intercepts Contact Form 7, WPForms, Elementor Forms, Fluent Forms, Gravity Forms, and standard HTML forms. It supports file upload attachments (up to 5 files, 5 MB/file, 10 MB total), Honeypot + optional Cloudflare Turnstile anti-spam, and delivery via Resend, Brevo, Mailgun (US/EU), or a custom JSON webhook.
Yes. WapPress rewrites Elementor configs (including JSON-escaped and URL-encoded local URLs) and bundles required Elementor & Elementor Pro frontend runtime chunks automatically. For multilingual sites, it auto-detects Polylang, WPML, and TranslatePress (directory URL mode like /en/, /id/), exports localized routes, and preserves hreflang tags.
Yes — that's one of the primary workflows WapPress is built for. Run WordPress locally on LocalWP (or any .local / localhost setup), hit Push to Live, and WapPress rewrites local URLs to your production domain and deploys straight to Cloudflare Workers Static Assets with zero WordPress hosting cost.
WapPress includes a native GitHub Auto-Updater. When a new release is published on GitHub, you'll see an update notification right inside your WordPress Plugins page and can update in one click, with a rate-limit-proof redirect fallback.

Ship Faster, Safer WordPress Sites Today.

Export static HTML, keep your forms working serverlessly, and deploy directly to Cloudflare Workers Static Assets — 100% free and open source.