manifest / performance / convesio-static-proxy
Convesio Static Proxy
Proxy exact WordPress routes to externally hosted static pages.
by Convesio · github.com/convesio-inc/convesio-static-proxy · website
★ 6stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/convesio-inc/convesio-static-proxy/archive/refs/heads/main.zipProxy externally hosted static pages onto exact WordPress routes so they render on your primary domain without loading WordPress theme templates.
Highlights
- Exact path mapping (
/local-path->https://upstream/path) - Early runtime interception on
template_redirectpriority0 - Upstream status + safe header passthrough
- HTML rewriting (assets, links, canonical mode)
- Same-origin asset proxy via
/?csp_asset=... - Runtime fallback for SPA asset URLs (
/hero_bg.png, etc.) - Transient caching with stale-on-error behavior
- WPCS/PHPCS tooling configured and passing
Quick start
- Activate plugin in WordPress admin.
- Go to Settings -> Convesio Static Proxy.
- Add mapping row:
- Local Path:
/offer-1 - External URL:
https://example.workers.dev/offer-1
- Local Path:
- Save and visit local path.
Documentation
docs/architecture.mddocs/configuration.mddocs/troubleshooting.mddocs/developer.mddocs/features/route-mapping.mddocs/features/proxy-runtime.mddocs/features/html-rewriting.mddocs/features/asset-proxy.mddocs/features/caching.mddocs/features/admin-ui.md
Development / standards
- Install tooling:
composer install - Lint:
composer lint - Auto-fix:
composer lint:fix - Build installable plugin ZIP:
composer build
Release package output
- ZIP path:
dist/convesio-static-proxy.zip - Includes only runtime files:
convesio-static-proxy.phpincludes/assets/languages/README.mdCHANGELOG.md
- Excludes dev-only files/folders such as:
docs/vendor/composer.json,composer.lockphpcs.xml.dist.git/,.claude/, and editor/system artifacts
Coding standards configuration:
phpcs.xml.dist- Rulesets:
WordPress-Core,WordPress-Docs,WordPress-Extra,PHPCompatibilityWP - Prefix policy:
csproxy,CSProxy,CSPROXY
Requirements
- WordPress 6.0+
- PHP 7.4+
domextension
License
GPL-2.0-or-later