HudsonPanel Optimize
HudsonPanel Optimize connects a WordPress website to its HudsonPanel-managed hosting environment. A configured HudsonPanel installation is required for the managed caching and protection modules. Installing this plugin does not provision hosting, Redis or Nginx. WooCommerce is optional.
- Object Cache: persistent PhpRedis caching using the site’s managed connection and separate installation namespace. Flushes affect this site, not other sites.
- Page Cache: coordinate content changes with HudsonPanel Cache Safety. Public pages may be cached; cart, checkout, account, order-pay and receipt pages use HudsonPanel’s private-page exclusions. Administrators can clear the current frontend page using the toolbar control.
- Form Shield: local signed browser verification, honeypots, replay protection and submission rate limits. Local is the default; Cloudflare Turnstile and Off are optional. HTTPS and JavaScript are required.
- Page Optimization: Lazy Load on by default, optional Disable Comments / Disable Tags without deleting data, local CSS/JS minification, font display, targeted DNS hints, dependency-aware script defer, emoji-loader removal and conservative HTML comment cleanup. Sensitive commerce pages retain their authored assets.
- Image Optimization: smaller local WebP companion files for JPEG/PNG attachments, responsive picture markup and original fallbacks, with a bounded background queue and pause/resume/cancel controls. Independent serving and processing switches, thumbnail coverage and quality (70–95, default 82). Originals are retained.
- Database Cleanup and Reports: bounded administrator-reviewed cleanup of old revisions, drafts, trash, comments and expired database transients. Permanent deletion requires review and confirmation; there is no automatic cleanup schedule. Clean all reviews every category, including optional ones. Administrator-only reports flag large tables using metadata estimates without scanning their contents or rebuilding tables; snapshots are cached for 60 seconds.
Lazy Load starts on; other optional page/image controls start off. The recommended preset enables Lazy Load, WebP, CSS minification, font display, DNS hints and emoji-loader removal. Disable Comments and Disable Tags remain unchanged when applying the preset. JavaScript and HTML options remain off until separately enabled. Existing images are prepared explicitly through the bounded image queue. The Optimize images switch opts into processing and queues future uploads; turning it off preserves all queued work and stops new starts.
The Overview offers an explicit Apply recommended settings action. It verifies and installs the managed native modules, turns on all supported Form Shield categories, and applies the recommended page/image preset. Progress advances after each completed server step; there is no idle polling. Coverage and preset selections change only when an administrator chooses this action; Comments and Tags choices are preserved. WebP is skipped when no encoder is available; existing images are prepared separately. Database cleanup and advanced JS/defer/HTML options are not enabled by this preset. Completion requires verified Redis persistence, the saved preset, Form Shield coverage, and a queued managed page-cache refresh. A failed step leaves earlier changes in place and shows an attention message rather than a success claim.
Cache controls
Object Cache can be paused independently. The administrator action records Redis recovery state and removes only the exact verified owned object-cache.php drop-in. WordPress runtime caching, Page Cache and Form Shield remain available. Re-enabling verifies the managed payload and rotates only this site’s namespace before Redis persistence resumes. Unknown or modified drop-ins are never removed.
Page Cache can be paused while this plugin and its native modules remain active. Saving page-cache settings invokes the managed safety guard before writing the new policy. Paused and excluded WordPress responses send private/no-store headers and X-Accel-Expires: 0 so Nginx does not store them after normal invalidation. The plugin never edits Nginx configuration or manipulates the safety guard files. Additional path rules apply to WordPress pages and their descendants; they do not replace mandatory server exclusions or govern static files. No server cache TTL or warmup scheduler is exposed here. Cache lifetime remains managed by HudsonPanel. Administrators can choose toolbar visibility and clear one local page or the site. Automatic content invalidation and commerce privacy safeguards remain active. Deactivating this plugin ends its response-header enforcement; manage server-wide cache policy in HudsonPanel. Recommended setup enables both cache modules while preserving custom page exclusions and toolbar preferences.
Cache storage
Generated CSS and JavaScript are static browser-cache files, written only under wp-content/cache/hudsonpanel-optimize/assets (using the configured content path and URL at runtime). They are derived from existing, same-origin local assets; no PHP, remote code downloads or uploaded source input is generated or executed. File extensions are restricted to .css and .js, and output is published atomically. Original assets remain available if cache storage is unavailable. No generated scripts are written into media uploads, plugin, theme or core directories.
Redis recovery state is a constant, non-secret token stored separately under wp-content/cache/hudsonpanel-optimize/redis. This state requires a content-cache location because the object-cache drop-in runs before normal WordPress database, options and upload helpers. Do not delete the Redis recovery-state directory to clear page/asset caches; use Object Cache > Reconnect Redis safely. The previous root-level marker is only read and retired after explicit scoped recovery. The only PHP payload installed at runtime is the exact verified WordPress object-cache.php drop-in, following an explicit administrator action.
Supported forms and compatibility
WordPress interactive login, registration, password reset and comments; WooCommerce account forms, classic and Blocks checkout, and existing-order payments are protected. Fresh action-scoped proof is required for each protected Store API submission, including each batch subrequest. Stale cached verification renews only when a form is used or submitted; there is no polling.
The plugin does not select or limit WooCommerce payment gateways. Normal WooCommerce payment authorization and gateway requirements still apply. Gateway callbacks, REST/application-password clients and XML-RPC are outside interactive form verification. Custom form-builder adapters, specialized 2FA flows and WordPress Multisite are not supported by this release. Local browser verification deters automated abuse but does not establish human identity.
Administrators can turn Form Shield on or off and choose protection for logins, registrations, password recovery, comments, account changes, and checkout/payments. Checkout and existing-order payment coverage share one control. All supported forms remain selected by default, preserving existing protection on upgrade. Settings changes queue the normal managed page-cache refresh. Previously cached signed fields can still renew while protection is off; turning protection off keeps the selected coverage preferences and does not change WooCommerce’s own authorization. Disabling a category removes Form Shield verification for it.
Hosting service and data handling
HudsonPanel is the required hosting management service. Its protected local PHP handoff and Unix-socket status broker authenticate the site’s installation and managed environment. The request includes installation-related identifiers, configuration revision and a managed credential. No submitted form contents, passwords or visitor profiles are sent to that broker. Credentials are not stored in WordPress options or shown in the administrator interface.
WordPress objects may be cached in the account’s managed Redis instance. The plugin adds no analytics or marketing telemetry. Local Form Shield makes no external verification requests. If you select Cloudflare Turnstile, protected forms load Cloudflare’s widget and the server sends its token and your secret key to Cloudflare Siteverify (https://challenges.cloudflare.com/turnstile/v0/siteverify). The plugin does not send form contents or the visitor IP in that verification request. Cloudflare’s widget processes browser/network information under its privacy policy (https://www.cloudflare.com/privacypolicy/). Your secret is encrypted with site salts in a non-autoloaded option and is never shown back in the administrator interface. Rotating site salts requires entering the secret again. Image and asset processing happens on the hosting server. Existing third-party assets selected by a theme remain subject to that theme’s services and policies.
Optional Bunny CDN (off by default and excluded from recommended settings) delivers selected public images, CSS, JavaScript, fonts and optional audio/video from a dedicated Pull Zone. WordPress pages stay on HudsonPanel. Create a zone with this site’s root origin URL and use a b-cdn.net hostname or HTTPS custom hostname. A scoped API key needs PullZone.Read and PullZone.Purge for that zone. Save the connection fields, test, then enable delivery. The plugin checks the zone origin, hostname, TLS delivery and font CORS. Signed URLs, dynamic requests, excluded paths, administration and private commerce pages are left on the origin. Integrity/module scripts keep their original URLs.
Bunny settings include file-type switches, path exclusions, one-file/whole-zone purging and optional cron-based automatic purging. Disabling preserves settings; Disconnect deletes only local Bunny credentials/settings, never the remote zone or account. Turning the option off does not cancel Bunny billing. The API key is encrypted using site salts in a non-autoloaded option; a blank key field preserves it. Salt rotation requires entering it again. API requests go only to https://api.bunny.net for zone checks and purges. Connection tests make an unauthenticated HTTPS HEAD request for the plugin logo through the selected CDN hostname. Enabled CDN delivery sends normal static-file requests (including visitor network information) to Bunny. Automatic purges are coalesced and use WordPress cron; failures are shown in the Bunny card for manual retry.
Bunny pricing is usage-based with a $1 monthly minimum; under $3/month is an estimate for small sites, not a guaranteed or measured average. Review pricing: https://bunny.net/pricing/ . Terms: https://bunny.net/tos/ . Privacy: https://bunny.net/privacy/ . Setup: https://bunny.net/docs/cdn/quickstart/ .
Form Shield stores salted hashes for replay prevention and rate limiting, including a hash derived from client IP/action/time window, counters and expiry times in a site-prefixed database table. It does not store raw IPs or form contents in that table. Overview also stores bounded rejection totals in five-minute buckets for approximately 24 hours; these contain no client identifiers. An optional local speed measurement stores only aggregate timings, its time and a settings fingerprint. It makes seven homepage requests only when an administrator chooses Measure speed, with no scheduled polling or outside measurement service. Local replay tokens expire after approximately two hours; Turnstile replay claims expire after six minutes, and rate windows after five minutes; expired records are removed by bounded hourly cleanup. A working WordPress cron or external cron runner is required. The renewal handler returns only signed challenges with no-store headers and no application-level state writes. Standard hosting access logs are separate from this plugin.
Image queue state stores attachment IDs, conversion choices, bounded counters and claim tokens in a non-autoloaded WordPress option. Private account locks and a constant wake marker contain no credentials or form submissions. They live in /tmp/hudsonpanel-optimize-images-/, resolved from the hosting account’s POSIX identity. The directory is mode 0700 and regular files are mode 0600, with owner/type/link checks. Files hold locks, cooldown timestamps, a constant queued wake token, a failure count from 0 to 3, or authenticated lifecycle intent containing site identity, revision and active/enabled/runnable flags. No credential is stored there. This account-wide coordination prevents overlapping conversions across sites and lets the host scheduler skip idle sites without bootstrapping WordPress. Queue jobs remain in WordPress; the host’s protected provisioning policy controls eligibility. See docs/integration.txt in the public package for the storage details. A supervised HudsonPanel CLI worker converts one file per run, with a hard 20-second deadline and at least 60 seconds between account conversions. The queue holds at most 100 attachments; files have at most two attempts. Jobs pause after 24 hours. No image cron or browser polling is added, and web/upload/REST requests never convert. Files over 8 MiB or 8 megapixels, or without safe memory/disk headroom, are skipped. Automatic enrollment and website PHP selection require the matching HudsonPanel core follow-up to released 1.41.3; released 1.41.3 alone does not provide them. Compatible core enrolls active, verified, connected sites from Optimize images without per-site SSH activation, respecting administrator disables and disabled or masked timers. Until ready, queued images wait and originals remain available. PHP time limits or ordinary web cron are not substitutes for that OS-enforced deadline.
Settings, guard records and generated files are retained when the plugin is removed to avoid destructive data loss. Generated WebP companions are removed with their attachment; originals are never replaced. Administrators may request assistance removing retained plugin data. Deactivation removes only a verified owned drop-in, stops scheduled cleanup, pauses image jobs and retires this site’s Redis namespace.
Plugin information: https://hudsonpanel.com/wordpress-optimize/ Service information: https://hudsonpanel.com/ Support: https://hudsonpanel.com/support.php Privacy policy: https://hudsonpanel.com/privacy.php Terms: https://hudsonpanel.com/terms.php