Wordpress LScache Plugin: V4 is ready
Last Updated on: Wed, 15 Apr 2026 00:00:02 It is both on dev and master branches of our github repo. You can use Toolbox -> Beta Test to give it a try. Note: upgrade only from v3.6.4 to v4.0. Lower versions will result in an upgrade error. The error wont cause any issue for your sites. Just the plugin itself will be deactivated by WP when WP detected any error. You will need to manual activate the plugin again if upgrade from v3.6.3- to v4.0. Enjoy the new Guest Mode option. You dont have to manually tune the page optimization settings back and forth anymore. The new version v4.0 is already on WP. However, as this version contains substantial changes, the latest stable version on WP will keep on v3.6.4 for a while. Hopefully we can mark v4.0 as the latest stable version before end of May. Here is the changelog: = 4.0 ? Apr 30 2021 = Guest Introduced Guest Mode for instantly cacheable content on the first visit. UCSS Added a new service: Unique CSS, to drop unused CSS from elements from combined CSS CCSS Added HTML Lazyload option. (@Ankit) CCSS Added CCSS Per URL option to allow Critical CSS to be generated for each page instead of for each Post Type. Media Added Add Missing Sizes setting for improving Cumulative Layout Shift. (@Fahim) JS Switched to new JS minification library for better compression and compatibility w/ template literals. (@LuminSol) Media WebP may now be replaced in CSS. Media Can now drop image tags in noscript to avoid lazyload. (@Abe #314 @mattthomas-photography) Media Bypass optimization if a page is not cacheable. Image Optimize Auto hook to wp_update_attachment_metadata to automate image gathering process, and to handle the new thumbnail generation after images are uploaded. (@smerriman). Image Optimize Repeated image thumbnails wont be gathered anymore. Image Optimize Simplified the rescan/gather/upload_hook for existing image detection. Image Optimize Fixed the duplicated optimize size records in the postmeta table. (@Abe #315) Image Optimize Allow either JSON POST request or normal form request in notify_img. (@Lucas #313) Image Optimize Optimized SQL query for better efficiency. (@lucas @lauren) Image Optimize Fixed issue where rescan mass created duplicate images. (#954399) Image Optimize Image optimization pie will not show 100% anymore if there is still a small amount in the unfinished queue. Image Optimize WebP generation defaults to ON for Guest Mode. Image Optimize Priority Line package now can have smaller request interval. ESI Disable ESI when page is not cacheable. (@titsmaker) ESI Fixed an issue where Divi was disabling all in edit mode, but couldnt disable ESI. (@Abe) ESI ESI init moved under init hook from plugin_loaded hook. CDN Add basic support for CloudFlare API Tokens (@Abe #320) CSS Simplified Font Display Optimization option. CSS Fixed manual cron timeout issue. (@jesse Distad) CSS Inline CSS may now use data-no-optimize to be excluded from optimization. (@popaionut) JS Combined Load JS Defer and Load Inline JS Defer options. JS Forced async to defer. JS Moved Google Analytics JS from constant default to setting default for removal. JS Fixed potential JS parsing issue caused by JS src being changed to data-src by other plugins. (@ankit) JS Excluded spotlight from JS optimize. (@tobolo) CCSS Fixed CCSS/UCSS manual cron timeout issue. CCSS Only 10 items will be kept for CCSS history. CCSS The appearance of CCSS Purge in the topbar menu will be determined by the existance of CCSS cache, and not the setting only. CCSS To avoid stuck queues when the current request keeps failing, the CCSS queue will always drop once requested. CCSS CCSS will no longer hide adminbar. CCSS CCSS may now be separate for network subsites. (@Joshua) CCSS Gave CCSS a unique filename per URL per user role per subsite. CCSS Dropped Separate CCSS Cache Post Types option. CCSS Dropped Separate CCSS Cache URIs option. CCSS Subsites purge Avatar/CSS/JS/CCSS will not affect the whole network anymore. CCSS Implemented a better queue list for CCSS that auto collapses if there are more than 20 entries, and shows the total on top. CSSJS Now using separate CSS and JS folders instead of cssjs. CSSJS Automatically purge cache after CCSS is generated. Network Dropped network CSS/JS rewrite rules. Cache Send cache tag header whenever adding a tag to make it effective in the page optimization process. Core Used hook for buffer optimization Used init() instead of constructor. Object Used cls instead of get_instance for init. Cloud Replaced one-time message with a dismissible-only message when the domain key has been automatically cleared due to domain/key dismatch. API Dropped function hook_vary_add(). API Dropped function vary_add(). API Dropped function filter_vary_cookies(). API Dropped function hook_vary(). API Dropped action litespeed_vary_add. API Dropped filter litespeed_api_vary. API Use litespeed_vary_curr_cookies and litespeed_vary_cookies for Vary cookie operations instead. API Dropped action litespeed_vary_append. Vary 3rd party vary cookies will not append into .htaccess anymore but only present in response vary header if in use. Vary Dropped function append(). Vary Commenter cookie is now considered cacheable. Crawler Minor update to crawler user agent to accommodate mobile_detect.php (@Abe #304) Data Added a table truncate function. Data Added new tables url & url_file. Data Dropped cssjs table. Data Options/Summary data is now stored in JSON format to speed up backend visit. (#233250) Data Default CSS Combine External and Inline and JS Combine External and Inline to On for new installations for better compatibility. Purge Fixed potential purge warning for certain themes. Purge Purge will be stored for next valid visit to trigger if it is initially generated by CLI. Page Optimize CSS Combine/JS Combine will now share the same file if the contents are the same. Limited disk usage for better file usage and fewer issues with random string problems. Page Optimize Dropped option CSS/JS Cache TTL. Page Optimize Bypass optimization if page not cacheable. Page Optimize Purge CSS/JS will purge the url_file table too. Page Optimize Optionally store a vary with a shorter value. Page Optimize Removing query strings will no longer affect external assets. (@ankit) Page Optimize Better regex for optimization parsing. Page Optimize Eliminated w3 validator for DNS prefetch and duplicated ID errors. (@sumit Pandey) Page Optimize New Optimization for Guest Only option under Tuning. Page Optimize Now forbidding external link redirection for localization. Debug Implemented a better debug format for the 2nd parameter in the log. GUI Bypass page score banner when score is not detected (both 0). (@ankit) GUI Fixed deprecated JQuery function warning in WP-Admin. (@krzxsiek)
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference