I purged the cache. (Separate page and all caches too with no result.)
When I’m logged in, everything is fine, when I’m logged out the old color comes back.
How can I empty the cache and forget the old color?
WordPress: 6.1.1
W3TC: 2.2.12
Theme: Weaver Xtreme 5.0.2
The reason I checked is because I’m trying to set up Adaptive images on another site (per my previous thread) and I managed to get the plugin to generate the cache directory BUT the plugin is not generating resized and optimized images; the cache is showing 0 images. I have now tested this on 3 separate sites and the plugin isn’t generating or optimizing images on any of them. Here’s an overview of what I’ve done:
– scrolled through each site on my mobile phone and in my desktop browser using the Developer Tools mobile emulator (setting the screen to super small width)
– tested on Plesk (x 2 site) and cPanel (x 1 site) hosting
– WordPress and plugin versions are the latest (most up to date)
– all platforms are running PHP v7.4.32
– all 3 platforms are running Apache (not NGINX)
– I have disabled all other plugins
– verified the .htaccess file was created and is accurate
– checked folder permissions
– saved & re-saved settings
– deactivated and reactivated the plugin (and uninstalled and did a fresh install too)
– turned on debugging in wp-config
– installed the Query Monitor plugin
– checked the PHP error logs on each server
– I’m not seeing ANY errors
I suspect I’m missing something really basic – but I’ve run out of ideas. Is the plugin working for you as expected running WP v6.0.2 & PHP v7.4.32?
…here is the redacted Print Debug Info (installed in a /wp2022/ test directory):
PHP GD library is installed.
✔ Image cache directory has been created.
/home/example/public_html/wp2022/wp-content/cache/adaptive-images => drwxr-xr-x
✔ Installation .htaccess file is setup OK.
/home/example/public_html/wp2022/.htaccess => -rw-r--r--
? Adaptive images settings dump:
array(14) {
["resolutions"]=>
array(4) {
[0]=>
int(1024)
[1]=>
int(768)
[2]=>
int(640)
[3]=>
int(480)
}
["landscape"]=>
bool(true)
["hidpi"]=>
bool(true)
["cache-directory"]=>
string(21) "cache/adaptive-images"
["watched-directories"]=>
array(2) {
[0]=>
string(18) "wp-content/uploads"
[1]=>
string(17) "wp-content/themes"
}
["jpeg-quality"]=>
int(60)
["sharpen-images"]=>
bool(true)
["watch-cache"]=>
bool(true)
["browser-cache"]=>
float(180)
["cdn-support"]=>
bool(false)
["version"]=>
string(6) "0.6.70"
["sanitized"]=>
bool(true)
["wp-content-dir"]=>
string(44) "/home/example/public_html/wp2022/wp-content"
["wp-content-url"]=>
string(48) "https://www.example.com/wp2022/wp-content"
}
Thanks for your time!
pk
I have a small WordPress site with 47 pages/posts. It’s a quiet site with about 10 page views a day, occasionally 110 a day. I update a plugin about every 5 days and each update purges my cache. With few visitors, each visitor will mostly be opening un-cached pages and so waiting.
** I think I have a problem. Am I right?
** Are there LiteSpeed setting to get around this?
I am hoping that I could use “force public cache” to automatically re-cache about 15 of my pages after (1) each update with its purge, or after (2) LiteSpeed drops this page from cache after its specified retention period.
** Will this “forced caching” help me?
** Would I use “forced public cache”?
** Is the “forced cache” for forcing “private cache” with separate caching for each visitor?
As I only have 47 pages, I could just put in a “/” to cache all my pages.
** Would this cause problems for me?
I would not want my private pages cached as this has caused me problems editing the private pages – but this is another subject.
** How can I force caching of my home page?
If I entered
https://www.mysite.com.au/$
would that force the caching of my home page?
My hosting service does not offer the LiteSpeed crawler.
]]>In W3 Total cache > Performance > General Settings > Page Cache,
The “Purge Cache” and “Empty Cache” button is not working.
No matter what configuration I try to use, the “Empty Cache” button redirects me to
https://web/?w3tc_note=flush_pgcache
Which displays in the Browser: ERROR Page not found
When using “Page Cache Method: Disk: Enhanced”, the files are created in the /wp-content/cache/page_enhanced/ folder successfully. But the Purge Cache and Empty Cache buttons do not delete any files inside that folder.
When using “Page Cache Method: Opcode: Alternative PHP Cache (APC / APCu)”, the files are created in the /wp-content/cache/page_enhanced/ folder successfully.
But the Purge Cache and Empty Cache buttons do not clear up the APC memory. I confirmed by checking the server APC statistics (via this method https://www.php.net/manual/en/apc.configuration.php ). I am able to clear my own APCu memory in the server, but not* through the WordPress W3 Total cache Plugin Page.
Is this a problem with the plugin or with my installation/configuration process?
Lastly, there is one odd thing I want to ask about. After enabling preview mode in WP Admin > Performance > General Settings > General > Preview Mode > Enable , and then going into the Preview of my Site, the Query Monitor Plugin shows the following message:
“The APCu extension for PHP is installed but is not in use by WordPress”
“External object cache not in use
Opcode cache in use: APC
Opcode cache in use: Zend Opcache”
I can confirm that APCu indeed contains entries such as “w3tc_1738895883__0_pgcache_edc15ea8a41c1071c1bd31db5622704f_ssl_gzip ”
“w3tc_1738895883__0_pgcache_edc15ea8a41c1071c1bd31db5622704f_ssl ”
So I am wondering, how do I confirm that the Site is actually showing the Users the static HTML pages from APCu?
thanks,
]]>First of all, thx. For me you enter in Hall of Fame for this small piece of plugin. When u use a WP Mu, it’s boring to generate a config for all websites.
Actually because now you manage a “unique” WP rocket, if u are administrator and not super admin, you can’t empty cache…
Then you know what is my request ? Can it be possible to just manage something to left administrator of sub website to clear his own cache ?
Best regards.
]]>I only have the Header image on the site that I need this to work for!
Any help is much appreciated !
Debug info shown below:
PHP GD library is installed.
Image cache directory has been created.
/var/sites/i/inmindclinics.co.uk/public_html/wp-content/cache/adaptive-images => drwxr-xr-x
Installation .htaccess file is setup OK.
/var/sites/i/inmindclinics.co.uk/public_html/.htaccess => -rw-r–r–
? Adaptive images settings dump:
array(14) {
[“resolutions”]=>
array(3) {
[0]=>
int(1024)
[1]=>
int(640)
[2]=>
int(480)
}
[“landscape”]=>
bool(true)
[“hidpi”]=>
bool(true)
[“cache-directory”]=>
string(21) “cache/adaptive-images”
[“watched-directories”]=>
array(7) {
[0]=>
string(30) “public_html/wp-content/uploads”
[1]=>
string(38) “public_html/wp-content/uploads/2018/12”
[2]=>
string(18) “wp-content/uploads”
[3]=>
string(26) “wp-content/uploads/2018/12”
[4]=>
string(17) “wp-content/themes”
[5]=>
string(7) “uploads”
[6]=>
string(15) “uploads/2018/12”
}
[“jpeg-quality”]=>
int(75)
[“sharpen-images”]=>
bool(true)
[“watch-cache”]=>
bool(true)
[“browser-cache”]=>
float(180)
[“cdn-support”]=>
bool(false)
[“version”]=>
string(6) “0.6.64”
[“sanitized”]=>
bool(true)
[“wp-content-dir”]=>
string(55) “/var/sites/i/inmindclinics.co.uk/public_html/wp-content”
[“wp-content-url”]=>
string(37) “https://inmindclinics.co.uk/wp-content”
}
Thanks!
Debug info
PHP GD library is installed.
Image cache directory has been created.
/home/gst/public_html/wp-content/cache/adaptive-images => drwxr-xr-x
Installation .htaccess file is setup OK.
/home/gst/public_html/.htaccess => -rw-r–r–
? Adaptive images settings dump:
array(14) {
[“resolutions”]=>
array(5) {
[0]=>
int(1280)
[1]=>
int(960)
[2]=>
int(768)
[3]=>
int(516)
[4]=>
int(320)
}
[“cache-directory”]=>
string(21) “cache/adaptive-images”
[“watched-directories”]=>
array(2) {
[0]=>
string(18) “wp-content/uploads”
[1]=>
string(17) “wp-content/themes”
}
[“jpeg-quality”]=>
int(90)
[“watch-cache”]=>
bool(true)
[“browser-cache”]=>
float(180)
[“landscape”]=>
bool(false)
[“hidpi”]=>
bool(false)
[“cdn-support”]=>
bool(false)
[“sharpen-images”]=>
bool(false)
[“version”]=>
string(6) “0.6.64”
[“sanitized”]=>
bool(true)
[“wp-content-dir”]=>
string(32) “/home/gst/public_html/wp-content”
[“wp-content-url”]=>
string(68) “https://xxxxxxxxxxxxxxx.com/wp-content”
}
System information
Web Server
LiteSpeed
Document Root
/home/gst/public_html
PHP
7.2.11
PHP Time Limit
30
PHP Memory Limit
512M
PHP Post Max Size
48M
PHP Upload Max Size
48M
PHP Max Input Vars
1000
PHP Display Errors
No
PHP Error Log
error_log
MySQL
5.6.39
MySQL Ext/mysqli
Yes
MySQL Table Prefix
wp_guys17_
MySQL DB Charset
utf8
WP
4.9.8
WP Multisite
No
WP Debug Mode
No
WP Site url
https://xxxxxxxxxxxxxxx.com
WP WP Home url
https://xxxxxxxxxxxxxxx.com
WP Permalinks
/%postname%/
WP home path
/home/gst/public_html/
WP content dir
/home/gst/public_html/wp-content
WP plugin dir
/home/gst/public_html/wp-content/plugins
WP content url
https://xxxxxxxxxxxxxxx.com/wp-content
WP plugin url
https://xxxxxxxxxxxxxxx.com/wp-content/plugins
WP Locale
en_GB
WP Memory Limit
512M
WP Max Upload Size
48mb
WP Active plugins
Gravity Forms v.2.3.6 by rocketgenius
Adaptive Images for WordPress v.0.6.64 by Nevma
Advanced Custom Fields PRO v.5.7.7 by Elliot Condon
BackupBuddy v.8.3.1.1 by iThemes
Entry Expiration for Gravity Forms v.2.0.5 by travislopes
Imsanity v.2.4.1 by Exactly WWW
Post SMTP v.1.9.5 by Jason Hendriks, Yehuda Hassine
Quick Bulk Post & Page Creator v.1.0.4 by tyxla
Radio Buttons for Taxonomies v.1.8.3 by Kathy Darling
Regenerate Thumbnails v.3.0.2 by Alex Mills (Viper007Bond)
Simple Page Ordering v.2.3.2 by Jake Goldman, 10up
TablePress Extension: Turn off DataTables for new tables v.1.0 by Tobias B?thge
TablePress v.1.9.1 by Tobias B?thge
Category Order and Taxonomy Terms Order v.1.5.5 by Nsp-Code
Wordfence Security v.7.0.2 by Wordfence
Yoast SEO v.9.1 by Team Yoast
Media Library Categories Premium v.2.1.6 by Jeffrey-WP
WP MU plugins