=== Static Porter === Contributors: KAYIHAN TURGUTOGLU, KAYA TURK Donate link: https://www.paypal.me/kturgutoglu Tags: static, cache, performance, speed, optimization Requires at least: 5.0 Tested up to: 6.9 Requires PHP: 7.0 Stable tag: 3.5.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Convert your dynamic WordPress site into ultra-fast static HTML files. Reduce server load and improve SEO instantly. == Description == **Static Porter** is a high-performance static site generator designed for speed and simplicity. It crawls your website and converts your database-driven pages into flat HTML files, allowing your server to bypass PHP and MySQL entirely for lightning-fast load times. Unlike traditional caching plugins, Static Porter generates a physical directory of your site. When a visitor arrives, your server serves the pre-built HTML file instantly. ### Key Features: * **One-Click Full Crawl:** Easily generate a static version of your entire site. * **Smart Refresh:** Automatically updates the static home page and post pages when you hit publish. * **Persistent Cache Table:** Monitor exactly which files are cached with individual 'Delete' and 'Recrawl' controls. * **Advanced Optimization:** Built-in HTML Minification and Gzip compression support. * **Security & Caching:** Automatically configures .htaccess with security headers and browser caching rules. * **Lightweight & Fast:** Designed to be resource-efficient with a built-in "Stop Crawl" safety feature. == Installation == 1. Upload the `static-porter` folder to the `/wp-content/plugins/` directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Go to the 'Static Porter' menu in your sidebar. 4. Configure your excluded paths and click 'Start Full Crawl'. == Frequently Asked Questions == = Does this work with WooCommerce? = It is recommended to exclude checkout, cart, and account pages using the "Excluded Paths" setting to ensure dynamic functionality remains intact. = How do I know if it's working? = Enable the "HTML Attribution" setting. View your website's source code, and you will see a comment at the top confirming the page is being served as static HTML. == Screenshots == 1. The main dashboard showing configuration settings and the crawl progress bar. 2. The persistent cache table where you can delete or recrawl specific URLs. 3. The sidebar statistics showing disk usage and efficiency gains. == Upgrade Notice == = 3.5.4 = This version introduces the new professional "Porter" branding, optimized UI, and a faster 5-second auto-refresh after crawling. Highly recommended for all users. == Changelog == = 3.5.4 = * **New Icon:** Updated plugin branding to a professional "Porter/Package" box icon. * **UI Refresh:** Restored sidebar labels and updated dashboard header icons. * **Timer Update:** Reduced post-crawl auto-refresh from 10 seconds to 5 seconds for a faster workflow. = 3.4.7 = This version adds a persistent cache management table and a manual "Stop Crawl" safety button. Highly recommended for all users. == Changelog == = 3.4.7 = * Major fixes * Added Stop Crawl functionality. * Added individual row Delete and Recrawl buttons. * Added 10-second auto-refresh after crawl.