Description
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. Verification runs locally. HTTPS and JavaScript are required. - Page Optimization: optional 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. Separate serving and upload
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.
All page/image optimization settings start OFF. The recommended preset enables
WebP, CSS minification, font display, DNS hints and emoji-loader removal. JavaScript
and HTML options remain off until separately enabled. Existing images are prepared
explicitly through the bounded image queue. Future uploads follow the separate
Optimize new uploads setting and enqueue work after upload.
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. Existing selections
are replaced only when an administrator chooses this action. 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, marketing telemetry or external verification requests.
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.
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. Replay tokens expire after approximately two hours 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 only locks, cooldown
timestamps, a constant queued wake token, or a failure count from 0 to 3. 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 processing requires HudsonPanel to provision its supervised runner;
until then, queued images wait and original images 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
Installation
- Use a single-site WordPress installation on configured HudsonPanel hosting,
with PHP 7.4+, WordPress 6.5+, HTTPS, PhpRedis, a protected managed bootstrap,
managed Redis and HudsonPanel Cache Safety. Queued WebP conversion needs
GD with JPEG/PNG/WebP support, POSIX identity functions, a writable private
account tmp directory, the HudsonPanel supervised image runner for automatic conversion. Individual page purging needs cURL and the managed local purge route. - Back up the plugin and database before updating or performing database cleanup.
Review existing caching and form-protection settings before enabling modules. - Fresh installs use the hudsonpanel-optimize folder. Existing private installs
in hudsonpanel-sitecore must be updated in place with the legacy-folder package.
Do not install or activate both copies. See the bundled installation guide
before any folder migration. - Activate, open HudsonPanel in the WordPress sidebar and review Environment and
Installation readiness. Off-panel sites show unavailable integration; the
plugin does not provision a server or silently enable native modules. - Explicitly enable native modules as an administrator. Installation verifies
Redis, creates the guard table and installs only a verified managed drop-in.
An unknown or modified drop-in requires owner review and is not overwritten. - Keep page/image optimization off until the site’s theme and forms are reviewed.
Confirm login, checkout/payment flows, cache refresh and scheduled cleanup.
FAQ
-
Can I use this on hosting without HudsonPanel?
-
The managed modules require HudsonPanel. Other hosting platforms are not supported.
The plugin displays connection diagnostics without exposing credentials. -
How does Form Shield verification work?
-
Form Shield uses local signed browser verification, honeypots, replay protection
and rate limits. HTTPS and JavaScript are required. It deters automated abuse
without establishing human identity. -
What happens when Redis fails?
-
WordPress uses runtime caching. Persistent caching latches off to prevent stale
reconnection. An administrator can use Object Cache > Reconnect Redis safely;
this retires only the site’s namespace before resuming persistence. -
How do I recover from a form-protection problem?
-
Use the Form Shield master switch to pause protection while keeping caching
enabled. Keep an administrator session and authorized WP-CLI access during
changes. If dashboard access is unavailable, an operator may run: wp option update hudsonpanel_sitecore_form_shield_disabled 1
This pauses Form Shield while leaving caching enabled. Re-enable with:
wp option delete hudsonpanel_sitecore_form_shield_disabled
Invalidate cached HTML normally after changing protection or WordPress salts. -
How do I roll back?
-
For a rollback across 0.4.16’s cache-state migration, enter maintenance, remove
only the verified owned object-cache.php drop-in, restore the matching plugin
and drop-in backup, and explicitly reinstall native modules to rotate the site’s
Redis namespace before reopening the site. Do not let older Redis code resume
persistence against data that missed invalidations. Keep both old and new cache
recovery markers until the corresponding explicit recovery has succeeded.For other rollbacks, restore the previous plugin payload and its corresponding
backed-up owned drop-in in their existing locations. Older code may not recognize a newer drop-in.
The original managed drop-in is recognized by this version for upgrades. If necessary, reinstall native modules as an
administrator to refresh the managed drop-in and retire the Redis namespace.
Never overwrite a foreign drop-in or manually remove Cache Safety lock/dirty files.
Code rollback cannot undo database cleanup; restore deleted data from a backup. -
Are all images or scripts rewritten?
-
No. Remote/CDN media, CSS backgrounds, animated GIF/APNG images, oversized files,
CSS imports, module scripts and integrity-protected assets are left unchanged.
Core, commerce, payment and verification scripts are excluded from JS minification.
Inline scripts are not moved. Font changes may affect layout; test before enabling.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“HudsonPanel Optimize” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “HudsonPanel Optimize” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
0.4.18
- Use fully rounded navigation buttons with orange selection and two grey inactive/hover shades.
- Add the local HudsonPanel header logo, tighter titles and a full-width description.
- Add a smaller monochrome sidebar logo that follows the WordPress admin color scheme.
- Standardize grey card and status-pill surfaces, orange enabled actions and light-grey disabled buttons.
- Inherit the WordPress admin font across text and form controls, including the support summary.
- Clarify general hosting and supervised-worker requirements in the bundled documentation.
0.4.17
- Add an administrator-only Cache health snapshot and manual connection check without polling.
- Expand About with setup guidance, data/resource disclosures and a copyable redacted support summary.
- Standardize rounded cards, spacing, action buttons, tooltips and responsive grey/orange navigation.
- Refresh image-worker/storage documentation and HudsonPanel service-policy links.
- Invalidate scheduled publications before the core write and cover direct publish/status transitions.
- Add matched database tool cards, reviewed Clean all and bounded table-size reports.
- Align every section with the About tab and share consistent field styles.
- Add independent WebP serving/upload controls, thumbnail coverage and quality.
- Queue upload and existing-media conversion with account locking, cooldowns,
finite retries, bounded memory/file sizes, and pause/resume/cancel controls. - Show feature-level compatibility diagnostics without competitor names.
- Add independent Object Cache, Page Cache and Form Shield controls.
- Add local page exclusions, toolbar visibility and targeted page-cache clearing.
- Add a two-column Overview, collapsed diagnostics and user-triggered recommended setup with verified progress.
0.4.16
- Store Redis recovery state and generated CSS/JS in dedicated content-cache directories.
- Honor earlier recovery markers during upgrades and retain explicit scoped recovery.
- Keep generated browser assets outside media uploads and restrict output to CSS/JS.
0.4.15
- Show the installed plugin version at the bottom of About.
0.4.14
- Rename About & Support to About and clarify environment requirements and optimization defaults.
0.4.13
- Add About & Support with the official plugin page, support and HudsonPanel links.
- Update plugin and author website metadata to the supplied HudsonPanel URLs.
0.4.12
- Anchor the native HudsonPanel flyout to its parent row near the viewport bottom.
- Retain native inline/mobile navigation and keep short-window menus scrollable.
0.4.11
- Add native HudsonPanel sidebar submenus for all seven plugin sections.
- Preserve existing section bookmarks and form redirects.
0.4.10
- Keep native WordPress login, recovery, signup and activation assets unoptimized.
- Preserve password-reset script order when advanced optimization is enabled.
0.4.9
- Reject incomplete cache payloads before installation and preserve the previous drop-in.
- Fall back safely after partial uploads and require Redis recovery before reconnecting.
- Translate browser verification and renewal messages.
- Preserve assets and images served from a different scheme or port.
0.4.8
- Align the attachment ID label, number field and image-optimization button.
- Stack the label on narrow screens and retain touch-friendly control heights.
0.4.7
- Validate transport inputs without repairing altered signed tokens.
- Prepare SQL identifiers and tighten request handling for submission review.
- Keep early bootstrap variables local and document atomic security-query needs.
0.4.6
- Prepare WordPress.org readme, service/privacy documentation and recovery guide.
- Support both the existing private folder and proposed public plugin folder.
- Verify exact managed drop-in ownership and support the earlier managed payload.
- Align the public translation domain and address submission-check findings.
0.4.5
- Preserve Form Shield REST rejections as responses inside Store API batches.
0.4.4
- Require payment-action proof on numeric existing-order Store API payment routes.
- Isolate successful verification per REST subrequest to prevent batch replay.
0.4.3
- Rename the plugin to HudsonPanel Optimize and consolidate Environment diagnostics.
0.4.2
- Renew stale signed verification on use without polling.
0.4.0
- Add opt-in page and image optimization.
0.3.0
- Add bounded, confirmed database cleanup.
0.2.0
- Add native caching and local form protection.
0.1.0
- Add the authenticated HudsonPanel bridge and administrator overview.