=== Acelora Site Accelerator ===
Contributors: haseebabidofficial
Author URI: https://profiles.wordpress.org/haseebabidofficial/  
Tags: performance, cache, speed, webp, cdn
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Premium WordPress speed suite with cache controls, asset optimization, WebP images, database cleanup, CDN, analytics, and automation.

== Description ==

Acelora Site Accelerator is a complete WordPress acceleration platform built for professional websites that need faster page loads, stronger Core Web Vitals, lower server load, and automated optimization workflows.

Instead of acting as a basic utility plugin, Acelora combines a performance workflow stack in one modular product:

* Smart cache purging and automatic invalidation.
* Sitemap-powered URL warmup with background queues.
* Browser cache headers and optional .htaccess rules.
* CSS minification, critical CSS support, and safe local combination.
* JavaScript minification, defer, async, delay, and safe local combination.
* Image compression, upload optimization, WebP generation, and WebP delivery.
* Native lazy loading for images, videos, and iframes.
* Database cleanup, table optimization, and repair tools.
* Heartbeat control for admin, frontend, and editor contexts.
* GZIP/Brotli compatibility checks.
* Generic CDN asset rewriting with Cloudflare-compatible workflows.
* Performance analytics center with cache health, recommendations, warnings, and estimated improvements.
* Advanced logging for cache activity, purges, optimization actions, errors, and scheduled tasks.
* WP-Cron automation for cleanup, URL warmup, database maintenance, and optimization workflows.
* One-click "Optimize Website" action.

Acelora is written with a secure, namespaced, object-oriented, modular architecture and follows WordPress best practices for hooks, capability checks, nonce validation, input sanitization, and output escaping.

== Features ==

= Cache Management =

* Automatic invalidation on content, comment, taxonomy, and theme changes.
* Manual and AJAX cache purging.
* Expiration management.
* URL, cookie, query-string, and role exclusions.
* Logged-in user controls.
* Mobile cache buckets.

= URL Warmup Engine =

* Sitemap crawling.
* Public content discovery.
* Scheduled URL warmup.
* Queue-based background processing.
* Manual warmup.
* Progress tracking.

= Asset Optimization =

* CSS minification and inline optimization.
* Critical CSS injection.
* Safe local CSS combination.
* JavaScript minification.
* Async, defer, and delayed JavaScript execution.
* Safe local JavaScript combination.
* File exclusions.

= Image Optimization =

* Bulk batch optimization.
* Upload-time optimization.
* JPEG and PNG compression where PHP GD supports it.
* WebP generation.
* WebP delivery for compatible browsers.
* Lazy loading.
* Responsive image compatibility.
* Statistics for optimized images, saved storage, and generated WebP files.

= Database Optimization =

* Revision cleanup.
* Auto draft cleanup.
* Trash cleanup.
* Spam and trash comment cleanup.
* Expired transient cleanup.
* Orphan post, comment, and term metadata cleanup.
* Table optimization.
* Table repair support.
* Daily, weekly, and monthly scheduling.

= Analytics, Logging, and Automation =

* Cache health cards.
* Optimization score.
* Recommendations and warnings.
* Advanced log viewer.
* WP-Cron automation.
* One-click website optimization.

== Installation ==

1. Upload the `acelora-site-accelerator` folder to `/wp-content/plugins/`.
2. Activate `Acelora Site Accelerator` from the WordPress Plugins screen.
3. Open `Acelora` in the WordPress admin menu.
4. Review the dashboard and configure cache controls, assets, images, database, CDN, heartbeat, and automation settings.
5. Click `Optimize Website` to run the first optimization workflow.

== Frequently Asked Questions ==

= Does Acelora modify WordPress core files? =

No. The plugin does not modify WordPress core files.

= Does it require a specific CDN provider? =

No. Acelora supports a generic custom CDN URL and is compatible with common CDN workflows, including Cloudflare-style setups.

= How are logged-in users handled by cache controls? =

Logged-in cache handling is conservative by default for safety. Role exclusions are available from the Cache Engine settings.

= Can I exclude pages or assets from optimization? =

Yes. The plugin includes URL, cookie, query-string, role, CSS, JavaScript, lazy-load, and CDN exclusion settings.

= Does WebP generation require server support? =

Yes. WebP generation uses PHP image capabilities. If the server does not support WebP generation, the plugin safely skips WebP conversion.

= Does the plugin include scheduled optimization? =

Yes. Acelora uses WP-Cron for cache cleanup, URL warmup, database cleanup, and one-click optimization workflows.

== Screenshots ==

1. Performance Dashboard with optimization score, quick actions, cache health, and recommendations.
2. Cache Engine screen with cache controls, exclusions, URL warmup, and browser cache controls.
3. Assets & CDN screen with CSS, JavaScript, lazy loading, compression, and CDN settings.
4. Image Optimization screen with optimized image statistics, storage savings, WebP counts, and batch controls.

== Changelog ==

= 1.0.1 =
* Fixed upload-time image optimization for generated image sizes.
* Improved WebP delivery for resized attachment images.
* Added an admin toolbar shortcut to clear all Acelora-managed caches.
* Improved image optimization batch feedback.

= 1.0.0 =
* Initial release.
* Added cache management controls.
* Added URL warmup queue.
* Added browser cache optimization.
* Added CSS and JavaScript optimization.
* Added image compression and WebP generation.
* Added database cleanup and table maintenance.
* Added heartbeat manager.
* Added compression compatibility checks.
* Added lazy loading.
* Added CDN rewriting.
* Added analytics dashboard.
* Added advanced logging.
* Added automation center.
* Added one-click Optimize Website workflow.

== Upgrade Notice ==

= 1.0.1 =
Improves image optimization and adds an admin toolbar cache clearing shortcut.

= 1.0.0 =
Initial premium-grade release of Acelora Site Accelerator.
