Cache Purge Not Reporting

Hi Support,

I’ve turned on Cache Control, majority of sites running on SiteGround Cloud server, not running CDN.

Had a SG Optimizer update for 54 of 59 sites.
Ran the updates in groups of sites. The first 20 sites ran the SG update and the SG Cache Purge that reported in the Sites table, with date & time,

Then ran additional groups for the updates of the SG Optimizer update, site table is still showing Never Purged.

Logged out, then back in again and ran a Site Kit update for 40 odd sites, site table is still showing “Never Purged”.

Only the first batch of 20 sites are showing the purge date & time, the remaining 30 odd sites are still showing “Never Purged”.
MainWP & Main Child on latest version, sites are all WP 6.1.1, php 7.4.33

I noticed that the update cycle time for the updates was slower, I guess that this as a result of the update & purge being processed.

Cheers, Reid

1 Like

Hey @elegantwfy

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.


### WordPress Check                Required                                               Detected                                     Status   ###

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

### PHP                            Required                                               Detected                                     Status   ###

cURL Extension Enabled             =true                                                  true                                         Pass        
cURL SSL Version                   >=OpenSSL/1.1.0                                        OpenSSL/1.1.1q-fips                          Pass        
cURL Timeout                       >=300 seconds                                          40                                           Warning     
cURL Version                       >=7.18.1                                               7.66.0                                       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 ( V7.4.)                                             
PHP IPTC Support                   N/A                                                    YES                                                      
PHP Loaded Extensions              N/A                                                    Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apache2handler, bcmath, bz2, calendar, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, libxml, mbstring, memcached, mysqli, mysqlnd, openssl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, session, shmop, soap, sockets, sodium, sqlite3, standard, sysvmsg, sysvsem, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib            
PHP Max Execution Time             >=30 seconds                                           120                                          Pass        
PHP Max Input Time                 >=30 seconds                                           120                                          Pass        
PHP Memory Limit                   >=128M                                                 768M                                         Pass        
PHP Post Max Size                  >=2M                                                   256M                                         Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Upload Max Filesize            >=2M                                                   256M                                         Pass        
PHP Version                        >=7.0                                                  7.4.33                                       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                                                  5.7.39-42-log                                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.9
Accept-Charset Content             N/A                                                    
Architecture                       64		 bit                                               
Gateway Interface                  CGI/1.1                                                
HTTPS                              ON                                                     
Memory Usage                       56.69 MB                                               
Operating System                   Linux                                                  
Request Time                       1669154280                                             
Server Protocol                    HTTP/1.0                                               
Server self connect                Response Test O.K.                                     
Server Software                    Apache                                                 
User Agent                         Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

### MainWP Dashboard Settings      Detected Value                                      ###

Abandoned plugins/themes tolerance 365                                                    
Basic uptime monitoring enabled    Yes                                                    
Cache control enabled              Yes                                                    
MainWP Dashboard Version           Latest: 4.3 | Detected: 4.3 Pass                       
MainWP legacy backups enabled      No                                                     
Maximum number of pages to return                                                         
Maximum number of posts to return                                                         
Maximum simultaneous install and update requests3                                                      
Maximum simultaneous requests      4                                                      
Maximum simultaneous requests per ip1                                                      
Maximum simultaneous sync requests 8                                                      
Minimum delay between requests     200                                                    
Minimum delay between requests to the same ip1000                                                   
Number of child sites              59                                                     
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     Yes                                                    
Theme advanced automatic updates enabledYes                                                    
Use WP Cron                        Yes                                                    
WP Core advanced automatic updates enabledYes                                                    

### Extensions                     Version                                                License                                      Status   ###

MainWP WooCommerce Shortcuts Extension4.1.1                                                  Actived                                      Pass        

### Plugin                         Version                                                Status                                    ###

MainWP Dashboard                   4.3                                                    Active                                       
SiteGround Optimizer               7.2.6                                                  Active                                       
SiteGround Security                1.3.7                                                  Active                                       

1 Like

Thanks for the system report.

Can you please try temporarily disabling the “Optimize for shared hosting or big networks” on Settings > Advanced Settings page and see if that helps?

Morning Bojan,
Turned off and Caching status now being updated across other sites.

Thanks, Reid

2 Likes

Morning Bojan,

Cache Purge message not being updated again!
Ran a few updates yesterday and the Cache Purged date was updated.
Ran the MainWP Child update this morning across the 59 sites and not one Cache Purged date was updated in the sites listing.
All still showing either 22nd Nov, 24th Nov and some Never Purged.

Cheers, Reid

1 Like

Hey Reid,

Thanks for the update.

Is the behavior you described in your last post with “Optimize for shared hosting or big networks” option disabled?

And would it be possible to install a slightly out of date version of a plugin (e.g. Akismet https://downloads.wordpress.org/plugin/akismet.5.0.zip) on all sites, and then perform an update on all of them, make a full synchronization on the Dashboard, and see how many sites get their “Last purged Cache” date updated in the Manage Sites table?

1 Like

Bojan,

Yes, “Optimize for shared hosting or big networks” option is still disabled.

Installing or rolling back 59 sites is not practical.
I installed or rolled back 8 test & development sites to Akismet 5.0, ran update to 5.0.1 and all 8 have last purged date updated.

I have a theme update to run across 28 sites after testing is completed, within the next day or so. Will update after these 28 updates.

Cheers, Reid

1 Like

Bojan,
Testing of the theme update completed quicker than expected.

Updated 27 sites with Divi 4.19.1 theme, in three batches of 11, 10 & 6.
With all 27 sites, Last Purged Cache date has remained at Nov 22 or Nov 24 or Never Purged.
The only dates that have updated to Nov 26 are the 8 test sites for the Askimet update that I ran an hour ago.

Cheers, Reid

1 Like

Hey @elegantwfy

Thanks for the update.
We will look into the affected functionality further and update this thread when we have more information.

Just to be sure - have you tried manually Synchronizing the Child Sites after performing the updates, and does that help with updating the “Last Purged Cache” information?

Morning Bojan,
Manually syncing the child sites does not update the last purged dates. :slightly_frowning_face:

Cheers, Reod

1 Like

Bojan,
Just updated a small run of plugins, 7 plugins across 11 sites. All Last purged cache dats updated.
Appears to be with a large selection where the last purged date does not update.

Reid

2 Likes

@elegantwfy Thank you for this incite. We are busy trying to work this caveat out. Once we have more information we will post here. Thank you very much for your testing.

1 Like

@elegantwfy I just noticed that you cURL Timeout is throwing a warning and in order to rule out that being the issue - could you please add this line to your wp-config.php file on your MainWP Dashboard installation:

It sounds like things are “working” but also “timing out” before it can finish…

ini_set("default_socket_timeout", 600);

Also - please update your MainWP Dashboard & it’s Extension suite to the latest version & reshare your System info after these changes please.

1 Like

Keith,
Added the wp-config.php with the code above.
MainWP Dashboatd is 4.3.0.1 & all sites running Main WP Child 4.3.0.1

Below is new Info, Server log.


### WordPress Check                Required                                               Detected                                     Status   ###

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

### PHP                            Required                                               Detected                                     Status   ###

cURL Extension Enabled             =true                                                  true                                         Pass        
cURL SSL Version                   >=OpenSSL/1.1.0                                        OpenSSL/1.1.1q-fips                          Pass        
cURL Timeout                       >=300 seconds                                          600                                          Pass        
cURL Version                       >=7.18.1                                               7.66.0                                       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 ( V7.4.)                                             
PHP IPTC Support                   N/A                                                    YES                                                      
PHP Loaded Extensions              N/A                                                    Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apache2handler, bcmath, bz2, calendar, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, libxml, mbstring, memcached, mysqli, mysqlnd, openssl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, session, shmop, soap, sockets, sodium, sqlite3, standard, sysvmsg, sysvsem, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib            
PHP Max Execution Time             >=30 seconds                                           120                                          Pass        
PHP Max Input Time                 >=30 seconds                                           120                                          Pass        
PHP Memory Limit                   >=128M                                                 768M                                         Pass        
PHP Post Max Size                  >=2M                                                   256M                                         Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Upload Max Filesize            >=2M                                                   256M                                         Pass        
PHP Version                        >=7.0                                                  7.4.33                                       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                                                  5.7.39-42-log                                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.9
Accept-Charset Content             N/A                                                    
Architecture                       64		 bit                                               
Gateway Interface                  CGI/1.1                                                
HTTPS                              ON                                                     
Memory Usage                       58.47 MB                                               
Operating System                   Linux                                                  
Request Time                       1669688434                                             
Server Protocol                    HTTP/1.0                                               
Server self connect                Response Test O.K.                                     
Server Software                    Apache                                                 
User Agent                         Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

### MainWP Dashboard Settings      Detected Value                                      ###

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

### Extensions                     Version                                                Licence                                      Status   ###

MainWP WooCommerce Shortcuts Extension4.1.1                                                  Actived                                      Pass        

### Plugin                         Version                                                Status                                    ###

MainWP Dashboard                   4.3.0.1                                                Active                                       
SiteGround Optimizer               7.2.6                                                  Active                                       
SiteGround Security                1.3.7                                                  Active                                       

2 Likes

Hi Keith,

Looks like the wp-config.php cURL Timeout increase to 600 worked! :slight_smile:

SiteGround pushed out an update to their SG Optimizer plugin.
Ran it over 56 sites in 3 batches of 18, 17 & 21 sites, ALL sites reported an updated Last Purged Cache date of November 30th.

Thanks, Reid

2 Likes

Perfect.
Thank you for updating us, and I’m glad it’s working now.

1 Like

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