Just another contact form plugin. Simple but flexible.
About LiteSpeed Cache
LiteSpeed Cache for WordPress is a powerful plugin that boosts site performance with server-level caching and optimization features, supporting WordPress Multisite, WooCommerce, bbPress, and more, including compatibility with ClassicPress. It works with any web server for general features, but exclusive features require LiteSpeed server, hosting, or QUIC.cloud CDN. The plugin also includes privacy features and resources for support and documentation.Screenshots











Frequently asked questions
What is LiteSpeed Cache for WordPress?
Is LiteSpeed Cache for WordPress compatible with other plugins?
Is LiteSpeed Cache for WordPress compatible with ClassicPress?
What are the requirements for LiteSpeed Cache for WordPress?
What are the general features of LiteSpeed Cache for WordPress?
Changelog
7.2 – Jun 18 2025
- π±CDN New option: Cloudflare Clear on purge all. (PR#828)
- Core Used
site_urlinstead ofhome_urlto fix the content folder parsing and QUIC.cloud calls. - πCloud Fixed a bug where we tried to sync QUIC.cloud usage while debug mode was ON, even when QC was not activated.
- Cloud Stored request timestamp in static files along w/ database to prevent duplicate requests when database is down.
- Cache Dropped
Cache PHP Resourcesoption. - Cache Added verification to prevent admin pages from caching even if the site is set to be globally cacheable.
- Image Optimize Disable image pull cron if there have been no image notifications.
- Crawler Non-role simulator crawler will now use DNS resolve to hit original server instead of CDN nodes.
- Media Resolved an issue where deleting an image from grid mode neglected to also remove the optimized versions of the image. (PR#844, Zsombor Franczia #841)
- Media Allowed filter
litespeed_next_gen_formatto manipulate the value of next gen format. (Zsombor Franczia #853) - 3rd Elementor: Clear all caches on regenerate CSS & Data. (PR#806)
- Config
Purge All On Upgradenow defaults to OFF. - GUI Showed
Disable all featuresmessage on all WP-Admin pages for Admin-level users when enabled. - Misc Used PHPCS w/ WordPress core and security coding standards to reformat cache menu code. (Viktor SzΓ©pe #696)
- Misc Replaced use of
SHOW TABLESwithDESCRIBEto prevent database halt in very large WP Multisite installations. (Boone Gorges PR#834, PR#850) - Misc Replaced constants with WordPress functions to check whether AJAX or CRON is running.
- API Added action
litespeed_save_confto provide a trigger for configuration updates.
7.1 – Apr 24 2025
- π±Page Optimize Added allowlist support for CCSS.
- Cloud CCSS results are now generated asynchronously via QUIC.cloud queue services.
- Cloud Added TTL control to QUIC.cloud services to make next requests more flexible.
- Crawler Dropped non-WebP/AVIF crawler if Next Gen Images are being used.
- πConfig Fixed an .htaccess generation bug that occurred when reactivating after previous deactivation. (PR#825)
- GUI Improved the QC registration notice banner for online services thanks to user feedback.
- GUI QUIC.cloud management links will be opened in a single dedicated new window to prevent multiple sessions.
- Page Optimization Enhanced URL fetch validation to avoid exposing possible local info.
- Debug Added a Click to copy logs button under
Log Viewtab. - CLI Removed a vary warning log in CLI for QC activation process with a customized login cookie.
- CLI Removed a log failure in CLI in QC activation process when no existing admin message.
- Misc Check version only after upgrade to reduce the requests.
- Misc Switched to CyberPanel.sh to detect public IP for dash tool.
7.0.1 – Apr 8 2025
- Page Optimize Migrate legacy data to append trailing slash for better compatibility with v7.0-optimized UCSS/CCSS data.
7.0.0.1 – Mar 27 2025
- GUI Resolved a banner message display error in certain old version cases.
- GUI Fixed a continual error banner when site doesn’t use QC.
- Config Fixed a continual CDN sync_conf/purge check issue after upgraded to v7.0.
- 3rd Improved WPML multi lang sync_conf compatibility.
7.0 – Mar 25 2025
- π±Image Optimization Added AVIF format.
- Core Changed plugin classes auto load to preload all to prevent upgrade problems.
- Core Refactored configuration data initialization method to realtime update instead of delayed update in plugin upgrade phase.
- Core Used
const.default.jsoninstead ofconst.default.inifor better compatibility in caseparse_ini_file()is disabled. - Core Minimum required PHP version escalated to PHP v7.2.0.
- Core Minimum required WP version escalated to WP v5.3.
- Cloud Dropped
Domain Key. Now using sodium encryption for authentication and validation. - Cloud Added support for
list_preferredin online service node detection. - Cloud Fixed a domain expiry removal PHP warning. (cheekymate06)
- Cloud Auto dropped Cloud error message banner when successfully reconnected.
- Cloud Simplified the configure sync parameters to only compare and post the necessary settings.
- Config Simplified QUIC.cloud CDN Setup. CDN service is now automatically detected when activated in the QUIC.cloud Dashboard.
- Config Dropped the initial version check when comparing md5 to decide if whether to sync the configuration when upgrading the plugin.
- Config
LITESPEED_DISABLE_ALLwill now check the value to determine whether it’s been applied. - Database Optimize Fixed Autoload summary for WP6.6+. (Mukesh Panchal/Viktor SzΓ©pe)
- CLI Added QUIC.cloud CDN CLI command:
wp litespeed-online cdn_init --ssl-cert=xxx.pem --ssl-key=xxx -method=cname|ns|cfi. - CLI Added QUIC.cloud CDN CLI command:
wp litespeed-online link --email=xxx@example.com --api-key=xxxx. - CLI Added QUIC.cloud CDN CLI command:
wp litespeed-online cdn_status. - CLI Added
--forceargument for QUIC.cloud CLI commandwp litespeed-online ping. - Image Optimization Dropped
Auto Pull Cronsetting. Added PHP constLITESPEED_IMG_OPTM_PULL_CRONsupport. - Image Optimization Added Soft Reset Counter button to allow restarting image optimization without destroying previously optimized images.
- Image Optimization Added support for
LITESPEED_IMG_OPTM_PULL_THREADSto adjust the threads to avoid PHP max connection limits. - Image Optimization Added support for the latest firefox WebP Accept header change for serving WebP.
- Image Optimization Allowed PHP Constant
LITESPEED_FORCE_WP_REMOTE_GETto force usingwp_remote_get()to pull images. - Image Optimization Dropped API filter
litespeed_img_optm_options_per_image. - Image Optimization Auto redirect nodes if the server environment is switched between Preview and Production.
- Purge Allowed
LSWCP_EMPTYCACHEto be defined as false to disable the ability to Purge all sites. - Purge Each purge action now has a hook.
- Purge Fixed
PURGESINGLEandPURGEquery string purge tag bug. - Purge
PURGEwill purge the single URL only likePURGESINGLE. - ESI Fixed a log logic failure when ESI buffer is empty.
- ESI Added Elementor nonces (jujube0ajluxl PR#736)
- ESI Fixed a no-cache issue in no-vary ESI requests that occurred when
Login Cookiewas set. - ESI ESI will no longer send cookie update headers.
- Vary Vary name correction, which used to happen in the
after_setup_themehook, now happens later in theinithook. - Crawler Enhanced hash generation function for cryptographic security.
- Crawler Added back
Role Simulatorw/ IP limited to127.0.0.1only. UseLITESPEED_CRAWLER_LOCAL_PORTto use 80 if original server does not support 443. - Crawler Enhanced Role Simulator security by disallowing editor or above access in settings.
- Crawler Defaulted and limited crawler
Run Durationmaximum to 900 seconds and dropped the setting. - Crawler Crawler will be stopped when load limit setting is 0.
- Crawler Dropped
Delaysetting. Added PHP constLITESPEED_CRAWLER_USLEEPsupport. - Crawler Dropped
Timeoutsetting. Added PHP constLITESPEED_CRAWLER_TIMEOUTsupport. - Crawler Dropped
Threadssetting. Added PHP constLITESPEED_CRAWLER_THREADSsupport. - Crawler Dropped
Interval Between Runssetting. Added PHP constLITESPEED_CRAWLER_RUN_INTERVALsupport. - Crawler Dropped
Sitemap Timeoutsetting. Added PHP constLITESPEED_CRAWLER_MAP_TIMEOUTsupport. - Crawler Dropped
Drop Domain from Sitemapsetting. Added PHP constLITESPEED_CRAWLER_DROP_DOMAINsupport. - Crawler Fixed wrong path of .pid file under wp-admin folder in certain case. (igobybus)
- Crawler Show an empty map error and disabled crawler when the map is not set yet.
- Page Optimize Updated request link parser to follow the site permalink. (Mijnheer Eetpraat #766)
- Page Optimize Updated latest CSS/JS optimization library to fix issues for RGB minification and external imports when combining CSS.
- Page Optimize Exclude Google Analytics from JavaScript optimization. (James M. Joyce #269 PR#726)
- Page Optimize Fixed typo in
LITESPEED_NO_OPTMconstant definition. (Roy Orbitson PR#796) - CDN Fixed CDN replacement for inline CSS url with round brackets case. (agodbu)
- GUI Added an Online Service tab under General menu.
- GUI Added a QUIC.cloud CDN tab.
- GUI Combined all Crawler settings to a single setting tab.
- GUI Switch buttons rtl compatibility. (Eliza/Mehrshad Darzi #603)
- GUI Fixed an issue where an irremovable banner couldn’t be echoed directly.
- GUI Limited page speed chart to cacheable servers only.
- Tag Fixed a potential warning in tags. (ikiterder)
- Tag Appended AJAX action to cache tags.
- Tag Dropped normal HTTP code. Only error codes (403/404/500) will be used for tags.
- Misc Fixed fatal activation error on Network installation when no other plugins are active. (PR#808 #9496550)
- Misc Improved README file by adding minimum supported PHP/WordPress versions. (Viktor SzΓ©pe)
- Misc Added reliance on just-in-time translation loading. (Pascal Birchler #738)
- Misc Will now check whether the filename is valid before saving a file to fix the possible Object Cache log issue. (Mahdi Akrami #761)
- Misc Fixed PHP 7.2 compatibility in cloud message. (Viktor SzΓ©pe #771)
- Misc Incompatibility warning banner for third party plugins is now dismissible.
- Misc Generated robots.txt file under litespeed folder to discourage search engine indexing of static resource files. (djwilko12)
- Debug Escalated debug initialization to as early as possible to allow more configuration information to be logged.
- 3rd Fixed warning in Buddy Press code integration. (Viktor SzΓ©pe/antipole PR#778)
6.5.4 – Dec 16 2024
- Page Optimize Fixed Google Fonts broken with the Async option. (HivePress #787)
6.5.3 – Dec 4 2024
- Misc Quote escaped in attributes when building HTML. (CVE-2024-51915)
6.5.2 – Oct 17 2024
- Crawler Removed barely used Role Simulator from Crawler, to prevent potential security issues.
- Misc Removed
mt_srandfunction in random hash generation to slightly improve the hash result.
6.5.1 – Sep 25 2024
- Security This release includes two security updates to enhance the post validation of the editor (CVE-2024-47373), and to secure the GUI queue display from malicious vary input (CVE-2024-47374).
- Media Sanitized dimensions for the images when replacing with placeholders. (TaiYou)
- Page Optimize Sanitized vary value in queue list. (TaiYou)
- Cloud Silent API error when failing to retrieve news updates.
6.5.0.2 – Sep 6 2024
- Debug Compatibility improvement for WP installations w/o
AUTH_KEYdefined inwp-config.php.
6.5.0.1 – Sep 4 2024
- π₯Debug Fixed a corner case fatal error when Object Cache is ON but failed to connect, and
wp-content/litespeeddirectory is not writable, and debug option is ON.
6.5 – Sep 4 2024
*βSecurity This release includes several debug log improvements for improved security, as listed below. Update strongly recommended.
* Debug Moved debug log to litespeed individual folder /wp-content/litespeed/debug/.
* Debug Disallowed visits to /litespeed/debug/ folder log files in .htaccess.
* Debug Dropped const LSCWP_DEBUG_PATH support.
* Debug Renamed debug.purge.log to purge.log.
* Debug Added dummy index.php for debug folder.
* Debug Used random string for log filenames.
* Debug Removed cookies-related info. (Thanks to Rafie)
* Debug Dropped Log Cookies option.
* Report Escaped report content to protect it from potential XSS attack. (Islam R alsaid #505746)
* ESI Added nonce for Advanced Custom Fields + Advanced Forms. (David Lapointe Gilbert #439)
* Purge Run ACTION_PURGE_EMPTYCACHE even if cache is disabled in network admin. (Philip #453)
* Page Optimize Disable UCSS exclusion when UCSS is inactived. (#640)
* 3rd Fixed undefined warning in WooCommerce Widgets. (Lolosan #719)
* 3rd Correct the integration with User Switching. (John Blackbourn #725)
* 3rd Fixed Admin Bar Missing issue on DIVI + Elementor frontend. (thyran/robertstaddon PR#727)
6.4.1 – Aug 19 2024
- βSecurity This release patches a security issue that may affect previous LSCWP versions since v1.9.
- πPage Optimize Fixed HTML minification returning blank page issue. (#706)
- πCDN Fixed a bug when Cloudflare status option is empty. (#684 #992174)
- Core Minimum required WP version escalated to WP v4.9.
6.4 – Aug 13 2024
- Cache Corrected QC and LSADC cache hit status.
- Cloud Allow partner info removal in QUIC.cloud notification.
- Crawler Separated CSS preparation validation from crawler validation.
- GUI Moved
WordPress Image Quality Controlsetting fromImage Optimizationmenu toPage Optimizationmenu. - 3rd Add Elementor Edit button back in ESI. (PR#635)
- 3rd Fixed Instant click potential conflict w/ other plugins.
6.3.0.1 – Jul 29 2024
- π₯πRest Disabled WP default Editor cache for REST requests to fix editor errors. (Shivam)
- Cache Supported
cache_nocacheable.txtpredefined settings.
6.3 – Jul 22 2024
- π±Page Optimize HTML Keep Comments: When minifying HTML do not discard comments that match a specified pattern. (#328853)
- π±Cache Cache POST requests. Now can configure POST/GET AJAX requests to be cached. (#647300)
- Cache Bypass admin initialization when doing ajax call. (Tim)
- Cache Better control over the cache location #541 (Gal Baras/Tanvir Israq)
- Cloud Added nonce for callback validation to enhance security. (Chloe@Wordfence)
- Cloud Fixed an error message for daily quota.
- Cloud Display error message when communicating with QUIC.cloud causes a token error.
- ESI Bypass ESI at an earlier stage when getting
DONOTCACHEPAGE. - ESI Added ESI nonce for Events Calendar and jetMenu mobile hamburger menu. (#306983 #163710 PR#419)
- ESI Added WP Data Access nonce (PR#665)
- ESI Added WP User Frontend ESI nonce (PR#675)
- Media Ignored images from JS in image size detection (PR#660)
- GUI Moved Preset menu from network level to site level for multisite networks.
- GUI Suppressed sitemap generation message if not triggered manually.
- GUI Added CloudFlare purge to front end menu.
- GUI Allowed customized partner CDN login link on dash.
- Page Optimize Cleaned up litespeed_url table when clearing url files. (PR#664)
- Page Optimize Updated Instant Click library to version 5.2.0.
- Page Optimize Added Flatsome theme random string excludes. (PR#415)
- Page Optimize Exclude Cloudflare turnstile from JS optimizations. (Tobolo)
- Page Optimize Fixed Cloudflare Turnstile issues. (Contributolo PR#671/672)
- Object Improved debug log for object cache status. (PR#669)
- Object Added brief parseable header comments to the drop-in file. (OllieJones)
- Debug Trimmed debug log.
- Misc Improved compatibility and sped up resolving for JSON functions
json_encode/json_decode. (hosni/szepeviktor #693) - Misc Fixed typos in params and comments. (szepeviktor #688)
- Image Optimization Fixed an issue which suppressed new requests when there were no new images in the library but there were unprocessed images in the send queue.
- Image Optimization Improved Cloud side quota check by disallowing new requests if notified but not pulled.
- Image Optimization Keep image attributes when replacing dimensions. (PR#686 #381779)
6.2.0.1 – Apr 25 2024
- π₯πPage Optimize Fixed the image display issue that occurs with Elementor’s
data-settingsattribute when the WebP image is not yet ready. (kanten/cbwwebmaster/reedock #132840 #680939 #326525)
6.2 – Apr 23 2024
- π±Crawler Added Crawler hit/miss filter. (#328853)
- π±CLI Image optimization now supports
wp litespeed-image batch_switch orig/optm. (A2Hosting) - π±VPI Auto preload VPI images. (Ankit)
- Object Added support for username/password authentication for Redis (PR#616 Donatas Abraitis/hostinger)
- Page Optimize Now supporting Elementors data-settings WebP replacement. (Thanks to Ryan D)
- Cache Send
Cache-Control: no-cache, no-store, must-revalidate, max-age=0when page is not cacheable. (asafm7/Ruikai) - Cache Cache control will respect
X-Http-Method-Overridenow. (George) - Cache No cache for
X-Http-Method-Override: HEAD. (George) - Cache Specified LSCWP in adv-cache compatible file.
- Cache Fixed redirection loop if query string has tailing ampersand (#389629)
- Cache Dropped “Cache Favicon.ico” option as it is redundant with 404 cache. (Lauren)
- Cache Fixed deprecated PHP v8 warning in page redirection. (Issue#617 dcx15)
- Cloud REST callback used ACL for QC ips validation.
- Cloud Fixed a typo in parsing cloud msg which prevented error messages to show.
- Cloud Carried on PHP ver for better version detection purpose.
- Cloud Escaped token to show correctly in report.
- Cloud Fixed a QC cloud ip verification setup failure in PHP 5.3.
- πCloud Fixed a continual new version detection.
- πImage Optimize Fixed a summary counter mismatch for finished images. (A2Hosting)
- CDN Auto CDN setup compatibility with WP versions less than 5.3.
- πCDN Fixed wrong replacement of non image files in image replacement. (Lucas)
- GUI Further filtered admin banner messages to prevent from existing danger code in database.
- REST Fixed a potential PHP warning in REST check when param is empty. (metikar)
6.1 – Feb 1 2024
- π±Database New Clear Orphaned Post Meta optimizer function.
- Image Optimize Fixed possible PHP warning for WP requests library response.
- Image Optimize Unlocked
noabortto all async tasks to avoid image optimization timeout. (Peter Wells) - Image Optimize Fixed an issue where images weren’t being pulled with older versions of WordPress. (PR#608)
- Image Optimize Improved exception handling when node server cert expire.
- πImage Optimize The failed to pull images due to 404 expiry will now be able to send the request again.
- Crawler CLI will now be able to force crawling even if a crawl was recently initiated within the plugin GUI.
- Page Optimize Fixed a dynamic property creation warning in PHP8. (PR#606)
- Page Optimize Fixed an issue where getimagesize could cause page optimization to fail. (PR#607)
- Tag Fixed an array to string conversion warning. (PR#604)
- Object Cache Return false to prevent PHP warning when Redis fails to set a value. (PR#612)
- Cache Tag Fixed an issue where $wp_query is null when getting cache tags. (PR#589)
6.0.0.1 – Dec 15 2023
- πImage Optimize Grouped the taken notification to regional center servers to reduce the load after image pulled.
6.0 – Dec 12 2023
- π±Image Optimize Parallel pull. (β Contributed by Peter Wells #581)
- π±Cache CLI Crawler.
- π±Cache New Vary Cookies option.
- π±Media New Preload Featured Image option. (Ankit)
- Core Codebase safety review. (Special thanks to Rafie Muhammad @ Patchstack)
- Purge Purge will not show QC message if no queue is cleared.
- Purge Fixed a potential warning when post type is not as expected. (victorzink)
- Conf Server IP field may now be emptied. (#111647)
- Conf CloudFlare CDN setting vulnerability patch. (Gulshan Kumar #541805)
- Crawler Suppressed sitemap generation msg when running by cron.
- Crawler PHP v8.2 Dynamic property creation warning fix. (oldrup #586)
- VPI VPI can now support non-alphabet filenames.
- VPI Fixed PHP8.2 deprecated warning. (Ryan D)
- ESI Fixed ESI nonce showing only HTML comment issue. (Giorgos K.)
- πPage Optimize Fixed a fatal PHP error caused by the WHM plugin’s Mass Enable for services not in use. (Michael)
- πNetwork Fix in-memory options for multisites. (Tynan #588)
- Network Correct
Disable All Featureslink for Multisite. - πImage Optimize Removing original image will also remove optimized images.
- Image Optimize Increased time limit for pull process.
- Image Optimize Last pull time and cron tag now included in optimization summary.
- Image Optimize Fixed Elementors Slideshow unusual background images. (Ryan D)
- πDatabase Optimize Fix an issue where cleaning post revisions would fail while cleaning postmeta. (Tynan #596)
- Crawler Added status updates to CLI. (Lars)
- 3rd WPML product category purge for WooCommerce. (Tynan #577)
5.7.0.1 – Oct 25 2023
- GUI Improvements to admin banner messaging. (#694622)
- CDN Improvements to CDN Setup. (#694622)
- Image Optimize Improvements to the process of checking image identification. (#694622)
5.7 – Oct 10 2023
- π±Page Optimize New option available: Preconnect. (xguiboy/Mukesh Patel)
- π±3rd New Vary for Mini Cart option for WooCommerce. (Ruikai)
- Cloud Force syncing the configuration to QUIC.cloud if CDN is reenabled.
- Cloud Force syncing the configuration to QUIC.cloud if domain key is readded.
- Cloud Limit multi-line fields when posting to QC.
- Cache Treat HEAD requests as cacheable as GET. (George Wang)
- πESI Patched a possible vulnerability issue. (IstvΓ‘n MΓ‘rton@Wordfence #841011)
- πESI Overwrite SCRIPT_URI to prevent ESI sub request resulting in redirections. (Tobolo)
- πImage Optimize Bypass unnecessary image processing when images were only partially optimized. (Ruikai)
- πGuest Guest mode will not enable WebP directly anymore. (Michael Heymann)
- CDN Auto disable CDN if CDN URL is invalid. (Ruikai)
- CDN Fixed a null parameter warning for PHP v8.1 (#584)
- API Added
litespeed_media_add_missing_sizesfilter to allow bypassing Media’s “add missing sizes” option (for Guest Optimization and otherwise). (PR #564) - Guest Fixed soft 404 and robots.txt report for guest.vary.php.
- Vary Enabled
litespeed_vary_cookiesfor LSWS Enterprise. - GUI Stopped WebP tip from wrongly displaying when Guest Mode is off.
- GUI Added QUIC.cloud promotion postbox on dashboard page.
- 3rd Added
pagespeed ninjato blocklist due to its bad behavior.
