LiteSpeed cache not clearing as expected upon plugin updates via MainWP

I’ve checked some of the similar issues some users here reported previously and none of the suggested solutions applied to me.
I’m running LiteSpeed on 20+ websites that are hooked up with MainWP and have the cache support extension installed. I’m getting the cache purged time stamp displayed correctly, but the /wp-content/litespeed/… folder content of temporary files is not deleted until I manually do a “purge all” from within the wp dashboard of each site.
Serve Stale is off on all sites.
Am I missing anything vital?

1 Like

Hi @nadworks

Can you please post the community system report from your MainWP Dashboard for review? The report is located in your Dashboard under Info → Server, on the top right of the page.

Be sure to use the button like the one below; this button hides all your private information:

image

Pressing the button auto-copies the report to your clipboard then just paste it in a reply here.

Thanks (sorry about the late reply - I’m not receiving notifications for post updates)


### WordPress Check                Required                                               Detected                                     Status   ###

FileSystem Method                  = direct                                               direct                                       Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
WordPress Memory Limit             >=64M                                                  812M                                         Pass        
WordPress Version                  >=3.6                                                  6.2.2                                        Pass        

### PHP                            Required                                               Detected                                     Status   ###

cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          300                                          Pass        
cURL Version                       >=7.29.0                                               7.61.1                                       Pass        
OpenSSL Version                    >=OpenSSL/1.1.0                                        OpenSSL/1.1.1k                               Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Allow URL fopen                N/A                                                    YES                                                      
PHP Disabled Functions             N/A                                                    No functions disabled.                                   
PHP Exif Support                   N/A                                                    YES ( V8.2.)                                             
PHP IPTC Support                   N/A                                                    YES                                                      
PHP Loaded Extensions              N/A                                                    Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, ctype, curl, date, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, igbinary, imagick, imap, intl, json, libxml, litespeed, mailparse, mbstring, mcrypt, memcached, msgpack, mysqli, mysqlnd, openssl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, random, session, shmop, soap, sockets, sodium, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib            
PHP Max Execution Time             >=30 seconds                                           300                                          Pass        
PHP Max Input Time                 >=30 seconds                                           60                                           Pass        
PHP Memory Limit                   >=128M                                                 812M                                         Pass        
PHP Post Max Size                  >=2M                                                   2000M                                        Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Upload Max Filesize            >=2M                                                   2000M                                        Pass        
PHP Version                        >=7.4                                                  8.2.8                                        Pass        
PHP XML Support                    N/A                                                    YES                                                      
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                                                             Pass        

### MySQL                          Required                                               Detected                                     Status   ###

MySQL Client Encoding              N/A                                                    utf8                                                     
MySQL Mode                         N/A                                                    NO_ENGINE_SUBSTITUTION                                   
MySQL Version                      >=5.0                                                  10.4.12-MariaDB                              Pass        

### Server Configuration           Detected Value                                      ###

Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Charset Content             N/A                                                    
Architecture                       64		 bit                                               
Gateway Interface                                                                         
HTTPS                              OFF                                                    
Memory Usage                       15.8 MB                                                
Operating System                   Linux                                                  
Request Time                       1689410874                                             
Server Protocol                    HTTP/1.1                                               
Server self connect                Not expected HTTP response body:                       
Server Software                    LiteSpeed                                              
User Agent                         Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

### MainWP Dashboard Settings      Detected Value                                      ###

Abandoned plugins/themes tolerance 365                                                    
Basic uptime monitoring enabled    No                                                     
MainWP Dashboard Version           Latest: 4.4.3.3 | Detected: 4.4.3.3 Pass               
MainWP legacy backups enabled      No                                                     
Maximum number of pages to return                                                         
Maximum number of posts to return                                                         
Maximum simultaneous install and update requests                                                       
Maximum simultaneous requests      4                                                      
Maximum simultaneous requests per ip1                                                      
Maximum simultaneous sync requests                                                        
Minimum delay between requests     200                                                    
Minimum delay between requests to the same ip1000                                                   
Number of child sites              71                                                     
Optimize for shared hosting or big networksYes                                                    
Plugin advanced automatic updates enabledYes                                                    
Primary backup system              MainWP Legacy Backups                                  
REST API enabled                   No                                                     
Site health monitoring enabled     No                                                     
Theme advanced automatic updates enabledYes                                                    
Use WP Cron                        Yes                                                    
WP Core advanced automatic updates enabledYes                                                    

### Extensions                     Version                                                License                                      Status   ###

Advanced Uptime Monitor Extension  5.0.1                                                  Actived                                      Pass        
Boilerplate Extension              4.1                                                    Actived                                      Pass        
Dashboard Lock                     4.0.2                                                  Actived                                      Pass        
MainWP Bulk Settings Manager Extension4.0.4                                                  Actived                                      Pass        
MainWP Cache Control Extension     4.0.2                                                  Deactivated                                  Warning     
MainWP Code Snippets Extension     4.0.1                                                  Deactivated                                  Warning     
MainWP Database Updater Extension  4.0.1                                                  Deactivated                                  Warning     
MainWP File Uploader Extension     4.1                                                    Actived                                      Pass        
MainWP Google Analytics Extension  4.0.4                                                  Actived                                      Pass        
MainWP Maintenance Extension       4.1.1                                                  Actived                                      Pass        
MainWP Page Speed Extension        4.0.1.1                                                Actived                                      Pass        
MainWP Pro Reports Extension       4.0.6                                                  Deactivated                                  Warning     
MainWP Staging Extension           4.0.2                                                  Actived                                      Pass        
MainWP Sucuri Extension            4.0.14                                                 Actived                                      Pass        
MainWP Team Control                4.0.3                                                  Deactivated                                  Warning     
MainWP URL Extractor Extension     4.0.3                                                  Deactivated                                  Warning     
MainWP White Label Extension       4.1.1                                                  Actived                                      Pass        

### Plugin                         Version                                                Status                                    ###

Backup Duplicator & Migration - WP STAGING2.16.0                                                 Active                                       
LoginPress - Customizing the WordPress Login Screen.1.8.0                                                  Active                                       
MainWP Child                       4.4.1.3                                                Active                                       
MainWP Dashboard                   4.4.3.3                                                Active                                       
MainWP Key Maker                   1.2                                                    Active                                       
MainWP Page Speed Extension        4.0.1.1                                                Active                                       
Wordfence Security                 7.10.1                                                 Active                                       
Yoast SEO                          20.11                                                  Active                                       

Thanks for the system report.

The development team is investigating the issue, including the Litespeed plugin method used to clear the cache.

I will update you as soon as I have more information.

2 Likes

Our extension uses the LiteSpeed’s purge_all() method to clear cache on child sites.
We’ve received information from the LiteSpeed team that only js and css should be removed upon using purge_all, and that all other directories should remain.
Can you please check if js and css are indeed removed when you perform a cache clear through MainWP?

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.