Dev Tools · 1h ago
Turn WordPress into a Static JSON Generator with Zero-Config CORS
A new open-source plugin for WordPress, Static JSON Export & CORS Whitelist, allows developers to bypass the database and serve pre-rendered JSON files, reducing response times from 300-500ms to 30-50ms. It also manages CORS headers directly from the admin panel, eliminating common cross-origin issues in headless setups. The plugin is available for free on the WordPress Plugin Directory.
Meridian48 take
While this plugin solves a real pain point for headless WordPress developers, its reliance on a third-party plugin may introduce maintenance overhead and security considerations for production sites.
Read the full reporting
Bypass WordPress Database: How to Fetch Static JSON with Zero-Config CORS →
DEV Community
wordpressheadless-cms