{"id":373673,"date":"2026-09-23T02:29:48","date_gmt":"2026-09-23T02:29:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ab-images-optimizer\/"},"modified":"2026-10-13T06:37:44","modified_gmt":"2026-10-13T06:37:44","slug":"optiforge-image-optimizer","status":"publish","type":"plugin","link":"https:\/\/ro.wordpress.org\/plugins\/optiforge-image-optimizer\/","author":15542426,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.4.0","stable_tag":"1.4.0","tested":"7.1.3","requires":"5.8","requires_php":"8.1","requires_plugins":null,"header_name":"OptiForge Image Optimizer","header_author":"Muhammad Jahanzaib","header_description":"Enterprise-grade image optimization: AVIF\/WebP generation, Max dimension resizing, Time-budgeted bulk optimizer, One-click bulk restore, Live media inline optimization, and WP-CLI commands.","assets_banners_color":"3d5a49","last_updated":"2026-10-13 06:37:44","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/mjahanxeb\/optiforge-image-optimizer","header_author_uri":"https:\/\/github.com\/mjahanxeb","rating":0,"author_block_rating":0,"active_installs":0,"downloads":227,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.3.1":{"tag":"1.3.1","author":"xmaszcomm","date":"2026-09-23 02:29:32","revision":3708341},"1.3.2":{"tag":"1.3.2","author":"xmaszcomm","date":"2026-09-27 21:32:53","revision":3716070},"1.4":{"tag":"1.4","author":"xmaszcomm","date":"2026-10-12 10:34:31","revision":3741114},"1.4.0":{"tag":"1.4.0","author":"xmaszcomm","date":"2026-10-13 06:37:44","revision":3743045}},"upgrade_notice":{"1.4.0":"<p>Major upgrade: True browser-independent background queue processing, instant zero-blocking UI startup, bulletproof timeout &amp; memory management, Imagick-first processing pipeline, and 100% WordPress core coding standards compliance. Recommended update for all users.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3716065,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3716065,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3716065,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3716065,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3.1","1.3.2","1.4","1.4.0"],"block_files":[],"assets_screenshots":{"Screenshot-1.png":{"filename":"Screenshot-1.png","revision":3741114,"resolution":"1","location":"assets","locale":"","width":1876,"height":820},"screenshot-1.png":{"filename":"screenshot-1.png","revision":3716070,"resolution":"1","location":"assets","locale":"","width":1898,"height":837},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3716070,"resolution":"2","location":"assets","locale":"","width":1918,"height":842},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3716070,"resolution":"3","location":"assets","locale":"","width":1918,"height":857},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3741114,"resolution":"4","location":"assets","locale":"","width":1898,"height":837}},"screenshots":{"1":"<strong>Dashboard Overview:<\/strong> Enterprise metric cards displaying total storage savings, optimization ratio, total media images, and real-time bulk optimization console.","2":"<strong>Settings Engine:<\/strong> Compression quality slider, lossy\/lossless modes, max dimensions auto-resizing, server compatibility inspection, and dynamic batch concurrency controls.","3":"<strong>Server-Level Rewrite Rules:<\/strong> Production-ready rewrite rules for Apache\/LiteSpeed (.htaccess) and Nginx map-based configurations for direct AVIF\/WebP delivery.","4":"<strong>System Health Status:<\/strong> Deep diagnostics for GD, ImageMagick, AVIF codec bindings, background cron health, and upload directory permissions."}},"plugin_section":[],"plugin_tags":[194661,56174,29158,247,15376],"plugin_category":[54],"plugin_contributors":[283011],"plugin_business_model":[],"class_list":["post-373673","plugin","type-plugin","status-publish","hentry","plugin_tags-avif","plugin_tags-compress-images","plugin_tags-image-optimizer","plugin_tags-performance","plugin_tags-webp","plugin_category-security-and-spam-protection","plugin_contributors-mjahanzaib","plugin_committers-xmaszcomm"],"banners":{"banner":"https:\/\/ps.w.org\/optiforge-image-optimizer\/assets\/banner-772x250.png?rev=3716065","banner_2x":"https:\/\/ps.w.org\/optiforge-image-optimizer\/assets\/banner-1544x500.png?rev=3716065","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/optiforge-image-optimizer\/assets\/icon-128x128.png?rev=3716065","icon_2x":"https:\/\/ps.w.org\/optiforge-image-optimizer\/assets\/icon-256x256.png?rev=3716065","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/optiforge-image-optimizer\/assets\/Screenshot-1.png?rev=3741114","caption":"<strong>Dashboard Overview:<\/strong> Enterprise metric cards displaying total storage savings, optimization ratio, total media images, and real-time bulk optimization console."},{"src":"https:\/\/ps.w.org\/optiforge-image-optimizer\/assets\/screenshot-2.png?rev=3716070","caption":"<strong>Settings Engine:<\/strong> Compression quality slider, lossy\/lossless modes, max dimensions auto-resizing, server compatibility inspection, and dynamic batch concurrency controls."},{"src":"https:\/\/ps.w.org\/optiforge-image-optimizer\/assets\/screenshot-3.png?rev=3716070","caption":"<strong>Server-Level Rewrite Rules:<\/strong> Production-ready rewrite rules for Apache\/LiteSpeed (.htaccess) and Nginx map-based configurations for direct AVIF\/WebP delivery."},{"src":"https:\/\/ps.w.org\/optiforge-image-optimizer\/assets\/screenshot-4.png?rev=3741114","caption":"<strong>System Health Status:<\/strong> Deep diagnostics for GD, ImageMagick, AVIF codec bindings, background cron health, and upload directory permissions."}],"raw_content":"<!--section=description-->\n<p>Is your WordPress website struggling with slow page load speeds or failing Google Core Web Vitals (Largest Contentful Paint - LCP)? Bulky JPEG, PNG, and GIF images are the primary cause of high bandwidth consumption and mobile performance penalties.<\/p>\n\n<p><strong>OptiForge Image Optimizer<\/strong> is an ultra-fast, privacy-first, on-server image compression and next-generation conversion engine. Unlike third-party SaaS plugins that charge expensive monthly subscription fees, enforce strict credit quotas, or upload your sensitive media to external third-party servers, OptiForge performs <strong>100% of encoding directly on your web host<\/strong> using high-efficiency native libraries (<code>Imagick<\/code> and <code>GD<\/code>).<\/p>\n\n<p>By generating ultra-compact <strong>AVIF<\/strong> and universal <strong>WebP<\/strong> formats alongside your original media and delivering them seamlessly, OptiForge slashes media payloads by <strong>60% to 85%<\/strong> without visual quality loss.<\/p>\n\n\n\n<h3>Why Choose OptiForge Image Optimizer?<\/h3>\n\n<ul>\n<li><strong>True Browser-Independent Background Processing:<\/strong> Powered by an indexed database queue table (<code>wp_ofio_queue<\/code>) with a dual-engine runner (Non-Blocking Loopback HTTP requests + WP-Cron Watchdog fallback). Start bulk optimization, close your browser tab, or navigate away \u2014 processing continues reliably on your server until complete.<\/li>\n<li><strong>Instant Startup (Zero UI Blocking):<\/strong> Instant UI responsiveness (&lt;30ms). Heavy image counting and database indexing are completely offloaded to background workers, eliminating dashboard freezes.<\/li>\n<li><strong>Smart Resource &amp; Timeout Monitoring:<\/strong> Monitors PHP <code>max_execution_time<\/code> and <code>memory_get_usage()<\/code> in real time, automatically yielding and respawning workers before server limits are reached. 0% tolerance for 500 errors or timeouts.<\/li>\n<li><strong>Zero Monthly SaaS Costs:<\/strong> Unlimited conversions with no cloud credit limits, no subscription paywalls, and no external API latency.<\/li>\n<li><strong>Dual Next-Gen Pipeline (AVIF + WebP):<\/strong> AVIF delivers up to 35% superior compression over WebP, while universal WebP acts as an airtight fallback for older legacy browsers.<\/li>\n<li><strong>End-to-End GIF Optimization:<\/strong> Full conversion support for static and animated GIFs into modern lightweight formats, dropping heavy media payloads by up to 80%.<\/li>\n<li><strong>Dynamic Concurrency Slider (1\u201320 Images):<\/strong> Built-in slider tailored for shared hosting (1-3 images), standard VPS (4-6 images), and high-performance dedicated servers (10-20 images).<\/li>\n<li><strong>Advanced Processing Engine Hierarchy:<\/strong> Priority 1: Native <code>Imagick<\/code> with optimized chroma sub-sampling and quality tuning; Priority 2: Standard <code>GD<\/code> fallback.<\/li>\n<li><strong>Non-Destructive Backups &amp; Zero-State Restore:<\/strong> Untouched originals remain safely preserved in an isolated directory (<code>\/wp-content\/uploads\/ofio-backups\/<\/code>). Restore any individual image or initiate a One-Click Full Restore that purges generated sidecars and cleanly resets dashboard metrics to zero.<\/li>\n<li><strong>Airtight Cache Harmonization:<\/strong> Built-in cache purging listeners fully compatible with FlyingPress, LiteSpeed Cache, WP Rocket, W3 Total Cache, WP Super Cache, and Autoptimize.<\/li>\n<li><strong>Native WP-CLI Tooling:<\/strong> Automate headless media optimizations directly via server command lines and cron jobs (<code>wp ofio queue status<\/code>, <code>wp ofio queue start<\/code>, <code>wp ofio optimize<\/code>).<\/li>\n<\/ul>\n\n\n\n<h3>Performance Benchmarks<\/h3>\n\n<ul>\n<li><strong>JPEG (Original 2.4 MB):<\/strong> Compressed to WebP: 420 KB (-82%) | Converted to AVIF: 285 KB (-88%)<\/li>\n<li><strong>PNG Graphics (Original 1.8 MB):<\/strong> Compressed to WebP: 310 KB (-82%) | Converted to AVIF: 215 KB (-88%)<\/li>\n<li><strong>Animated GIF (Original 4.5 MB):<\/strong> Converted to Animated WebP: 820 KB (-81%)<\/li>\n<li><strong>Core Web Vitals Impact:<\/strong> Up to 1.8s faster mobile Largest Contentful Paint (LCP) and improved Google PageSpeed scores.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<h3>Automatic Installation (Recommended)<\/h3>\n\n<ol>\n<li>Log in to your WordPress Dashboard.<\/li>\n<li>Navigate to <strong>Plugins &gt; Add New<\/strong> and search for <strong>OptiForge Image Optimizer<\/strong>.<\/li>\n<li>Click <strong>Install Now<\/strong> and activate the plugin.<\/li>\n<li>Navigate to <strong>OptiForge &gt; Settings<\/strong> to verify your server's codec compatibility status.<\/li>\n<\/ol>\n\n<h3>Manual Installation<\/h3>\n\n<ol>\n<li>Download the <code>optiforge-image-optimizer.zip<\/code> release archive.<\/li>\n<li>Extract and upload the plugin directory to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin via the <strong>Plugins<\/strong> menu.<\/li>\n<\/ol>\n\n<h3>Recommended Configuration<\/h3>\n\n<ul>\n<li><strong>Budget Shared Hosting (cPanel \/ 128 MB RAM):<\/strong> Set Batch Processing Limit to <strong>1 \u2013 3 images<\/strong>.<\/li>\n<li><strong>Standard Cloud VPS (1\u20132 vCPUs \/ 256 MB+ RAM):<\/strong> Set Batch Processing Limit to <strong>4 \u2013 6 images<\/strong>.<\/li>\n<li><strong>High-Performance VPS (LEMP \/ Dedicated):<\/strong> Set Batch Processing Limit to <strong>10+ images<\/strong>.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20the%20optimization%20stop%20if%20i%20close%20my%20browser%3F\"><h3>Does the optimization stop if I close my browser?<\/h3><\/dt>\n<dd><p>No! Version 1.4 features a true browser-independent background queue engine. When you start an optimization, it dispatches an asynchronous loopback worker monitored by a WP-Cron watchdog. You can safely close your browser or navigate to other admin screens.<\/p><\/dd>\n<dt id=\"how%20does%20optiforge%20differ%20from%20cloud-based%20plugins%20like%20shortpixel%2C%20smush%2C%20or%20tinypng%3F\"><h3>How does OptiForge differ from cloud-based plugins like ShortPixel, Smush, or TinyPNG?<\/h3><\/dt>\n<dd><p>Most image plugins offload images to third-party external servers, which incurs recurring monthly costs, credit exhaustion, and privacy concerns. OptiForge executes 100% of optimizations locally on your web host using native PHP extensions. You retain complete ownership, zero recurring fees, and unlimited image processing.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20my%20server%20has%20strict%20php%20memory%20or%20timeout%20limits%3F\"><h3>What happens if my server has strict PHP memory or timeout limits?<\/h3><\/dt>\n<dd><p>OptiForge 1.4 is built with enterprise resource monitoring. Before processing each image, the queue worker checks <code>memory_get_usage()<\/code> and elapsed execution time. If limits approach the threshold, the worker cleanly yields execution and schedules the next batch via an asynchronous request, preventing 500 errors or server crashes.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20my%20server%20does%20not%20support%20avif%3F\"><h3>What happens if my server does not support AVIF?<\/h3><\/dt>\n<dd><p>OptiForge includes an automated compatibility engine. If your PHP environment lacks native AVIF support, the AVIF toggle is automatically disabled and marked with an inline status badge to eliminate server crashes. Universal WebP compression remains fully active.<\/p><\/dd>\n<dt id=\"what%20batch%20processing%20limit%20should%20i%20select%3F\"><h3>What Batch Processing Limit should I select?<\/h3><\/dt>\n<dd><ul>\n<li><strong>1 \u2013 3 Images:<\/strong> Best for entry-level shared hosting where PHP memory is constrained to 128 MB and script execution limits are strictly enforced.<\/li>\n<li><strong>4 \u2013 6 Images:<\/strong> Ideal for standard VPS setups with 256 MB+ PHP memory.<\/li>\n<li><strong>10 \u2013 20 Images:<\/strong> Tailored for high-performance VPS stacks delivering ultra-fast batch runs across tens of thousands of media uploads.<\/li>\n<\/ul><\/dd>\n<dt id=\"does%20optimization%20alter%20or%20delete%20my%20original%20media%20files%3F\"><h3>Does optimization alter or delete my original media files?<\/h3><\/dt>\n<dd><p>No. OptiForge employs a strict non-destructive architecture. When backup mode is enabled, your untouched original assets are preserved in a secure, isolated folder (<code>\/wp-content\/uploads\/ofio-backups\/<\/code>). You can restore any image individually or run a complete restore at any time.<\/p><\/dd>\n<dt id=\"how%20does%20the%20one-click%20bulk%20restore%20feature%20work%3F\"><h3>How does the One-Click Bulk Restore feature work?<\/h3><\/dt>\n<dd><p>When you click <strong>One-Click Bulk Restore All<\/strong>, the background engine reverts each image in your media library to its original state, unlinks all generated <code>.webp<\/code> and <code>.avif<\/code> sidecar files from server storage, deletes backup duplicates to reclaim disk space, and automatically resets the dashboard counters to zero.<\/p><\/dd>\n<dt id=\"how%20does%20optiforge%20deliver%20avif%20and%20webp%20to%20frontend%20visitors%3F\"><h3>How does OptiForge deliver AVIF and WebP to frontend visitors?<\/h3><\/dt>\n<dd><p>OptiForge supports dynamic server-level rewrite rules (for Nginx and Apache\/LiteSpeed) as well as automated frontend rewrites. When a visitor's browser sends an <code>Accept: image\/avif<\/code> or <code>Accept: image\/webp<\/code> request header, your server transparently delivers the lightweight next-gen file without altering your HTML URLs.<\/p><\/dd>\n<dt id=\"is%20optiforge%20compatible%20with%20cdn%20and%20page%20caching%20plugins%3F\"><h3>Is OptiForge compatible with CDN and Page Caching plugins?<\/h3><\/dt>\n<dd><p>Yes. OptiForge features built-in cache-purging hooks compatible with FlyingPress, LiteSpeed Cache, WP Rocket, W3 Total Cache, WP Super Cache, and Autoptimize. Whenever an image is optimized or restored, stale page caches are automatically invalidated.<\/p><\/dd>\n<dt id=\"does%20optiforge%20support%20wp-cli%3F\"><h3>Does OptiForge support WP-CLI?<\/h3><\/dt>\n<dd><p>Yes. Advanced administrators and DevOps engineers can execute optimizations headlessly using standard WP-CLI commands (<code>wp ofio queue status<\/code>, <code>wp ofio queue start<\/code>, <code>wp ofio optimize<\/code>).<\/p><\/dd>\n<dt id=\"can%20i%20preserve%20photographer%20exif%20metadata%3F\"><h3>Can I preserve photographer EXIF metadata?<\/h3><\/dt>\n<dd><p>Yes. You can toggle <strong>Preserve EXIF metadata<\/strong> in the Settings panel to retain camera settings, copyrights, and shutter details, or keep it disabled for maximum payload reduction.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>Added: True Browser-Independent Background Processing queue (Action Scheduler\/Cron based).<\/li>\n<li>Added: Instant Startup UI with real-time AJAX tracking (Zero UI blocking).<\/li>\n<li>Added: Smart server resource monitoring (Timeout &amp; Memory limits prevention).<\/li>\n<li>Changed: Image optimization engine priority updated (Imagick is now Priority 1, GD is Priority 2).<\/li>\n<li>Removed: Completely removed libvips dependencies in favor of native Imagick and GD.<\/li>\n<li>Fixed: Resolved over 200+ strict WordPress coding standard violations and text domain mismatches.<\/li>\n<li>Fixed: Hardened database security with 100% prepared SQL statements and escaped queries.<\/li>\n<li>Fixed: Resolved all transient cache issues for system status reporting.<\/li>\n<li>Added: Dedicated indexed database queue table (<code>wp_ofio_queue<\/code>) with dual-engine runner (Non-Blocking Loopback HTTP requests + WP-Cron Watchdog fallback).<\/li>\n<li>Added: WP-CLI background queue management subcommands (<code>wp ofio queue status<\/code>, <code>start<\/code>, <code>pause<\/code>, <code>resume<\/code>, <code>stop<\/code>).<\/li>\n<li>Hardened: Fully compliant with strict WordPress Coding Standards (WPCS) and VIP Go standards.<\/li>\n<\/ul>","raw_excerpt":"Convert images to AVIF &amp; WebP on-server with true background queue. Boost page speed and Core Web Vitals with zero monthly SaaS fees.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/373673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=373673"}],"author":[{"embeddable":true,"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/xmaszcomm"}],"wp:attachment":[{"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=373673"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=373673"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=373673"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=373673"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=373673"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ro.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=373673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}