Forum Replies Created
- AuthorPosts
- Marko VasiljevicKeymaster
Hello David,
I am sorry about the issue you are experiencing and I am happy to help!
We are aware of this and this will be fixed in the next W3 Total Cache release.
As a temporary fix please comment out line 33 of Util_AttachToActions.php//add_action( ‘wp_set_comment_status’, array( $o, ‘on_comment_status’ ), 0, 2 );
Let me know if this helps!
Thanks!
Marko VasiljevicKeymasterHello Juli,
Thank you for reaching out and I am happy to assist you with this
We have received your email via the W3 Total Cache support channel, and provided all information regarding your license key and how to activate it.
Please continue any further correspondence there so we can avoid duplicating the answers!Thanks!
Marko VasiljevicKeymasterHello Petru,
As you already confirmed via the W3 Total Cache support channel, we’ve received your email and provided all information regarding your license key and how to activate it.
Thanks!
Marko VasiljevicKeymasterHello Jared,
Thank you for reaching out and I am happy to assist you with this.
We’ve replied to both of your emails via the W3 Total Cache support channel.
Please provide follow the instructions in the email and provide the additional information so we can assist you with this, and continue the correspondence there so we can avoid duplicating the answers.
Thanks!Marko VasiljevicKeymasterHello,
Thank you for reaching out and I am happy to assist you with this.
Once I’ve bypassed the page cache, the image you are referring to started loading correctly. However, it seems that you have multiple layers of caching besides W3 Total Cache.
Can you please make sure that all the cache is p[urged and also a server-side/varnish cache and Cloudflare cache?If that does not help, please disable the settings one by one in Performance>general settings, save the settings and purge the cache after each setting is disabled, and see which one might be causing the issue.
Thanks!
Marko VasiljevicKeymasterHello Thomas,
Thank you for reaching out.
The optimal W3 Total Cache configuration takes into account a number of factors: your theme, your plugins, and the technologies available on the server. Since everyone’s site, traffic, and theme are different, there is no one-size-fits-all solution.
This is why there are no specific Guides for Woocomerce websites.
1. This depends on what you are trying to achieve. Woocomerce is calling the W3TC hook to purge the cache once something is changed. It also has the option to fragment specific parts of the woo website using ajax to avoid these parts to be cached2. This depends on a lot of factors, however, Page Caching and Browser Caching are a good start.
3.a) The page is cached once visited. After the cache is purged for any page or all pages, it needs to be visited again in order to be cached if not specifically configured to be Preloaded.
b)c)d) In Performance>Page Cache, the re is a Cache Preload section. Once enabled and added the sitemap URL, upon the first visitation the W3TC starts to preload the entire website using the sitemap and by the Interval set in the Preload settings.
4. No there is no setting for this specific use case as you mentioned, so you can for example create a custom cron to call thew3tc_flush_all();
and after that call the cache prime using wp-cli
wp w3-total-cache pgcache_prime [–start=] [–limit= ] I hope this helps and let me know if you have any other questions.
Tanks!
Marko VasiljevicKeymasterHello Jackie,
Thank you for reaching out and I am happy to help!
W3 Total Cache Pro licenses are valid on a per-install basis, meaning you need one for every WordPress instance you run. If you have three separate websites, you will need three licenses in total—one for each site.
If you have five sites in a WordPress multisite instance, you need just one license for all five sites. If you are interested in bulk licensing, please email us for more information.Thanks!
January 6, 2023 at 12:33 pm in reply to: How To Schedule Automatic Cache Purges With W3 Total Cache #75152Marko VasiljevicKeymasterHello Stephen,
Thank you for reaching out and I am happy to assist you with this.
Purging the W3 Total Cache – cache all the time is not recommended as it may cause a lot of server resource consumption, naturally, it depends on the website.
There are a couple of things that you can do.
1. Exclude the page where the feed is (in your case/news/
) from the page caching by adding/news/
in Peformance>Page Cache>Advanced>Never Cache following pages field.
2. Use Page Fragment Caching – You can check more details in our FAQ about this, but in short, you need to warp this part of the page with themfunc
, replacing thetags and excluding this part of the page from the cache.
3. Setup a custom cron on your server and callw3tc_flush_url($url);
every x minutes/hours.The last one is a programmatic solution that will only purge specific URL instead of pouring the cache for the entire website.
I hope this helps!
Marko VasiljevicKeymasterHello Tobias,
Please reach out directly to us via the W3 Total Cache support channel in Performance>Support or via the website contact form, and provide the information about your subscription so I can find your subscription and share all the information.
Please note that this is a public forum and sensitive information about your subscription should not be shared here.
Thanks!Marko VasiljevicKeymasterHello Meg,
Thank you for reaching out and I am happy to assist you with this.
In W3 Total Cache settings, depending on the feature enabled, you can exclude specific pages from being cached.
In Performance>Page Cache>Advanced>” Never Cache following Pages”: add/cart/
and also in
Performance>Minify>Advanced>”Never minify following Pages”:
Once added, make sure to save all settings and purge the cache.Let me know if this helps!
Thanks!
Marko VasiljevicKeymasterHello,
Thank you for reaching out.
We’ve received your email via the W3 Total Cache support channel and replied to it.
Please continue the correspondence there as the information about the license should not be shared in the public forum.
Thanks!Marko VasiljevicKeymasterHello Andrew,
I am sorry about the issue you are experiencing and I am happy to assist you with this.
These are the configuration problems. You may be having some other plugins or manual rules that are in conflict with the W3 Total Cache settings and only a couple of tweaks can resolve the problems.
For your first question, and ion order to determine to the source of the problem, can you please disable the settings one by one in Performance>general settings, save the settings and purge the cache after each setting is disabled, and see which one might be causing the issue?As for the .gz problem, The problem with downloading gzip files is probably that there already is a configuration in the setup that handles gzip files. If you enable gzip in Performance => Browser Cache => HTML & XML, the configuration gets messed up and the browser will download a gzip file in situations like yours. Disabling the gzip option in Performance => Browser Cache => HTML & XML will probably solve this issue.
You can also define W3TC_PAGECACHE_STORE_COMPRESSION_OFF constant that allows not to generate _gzip and similar files. It helps in the cases when the server configuration
doesn’t allow mime type overwrites so cached content ends up with browser
download action.
It’s located in /wp-content/plugins/w3-total-cache/PgCache_ContentGrabber.php line 1191if ( defined( ‘W3TC_PAGECACHE_STORE_COMPRESSION_OFF’ ) ) {
return $compressions;}
You just need to add define(‘W3TC_PAGECACHE_STORE_COMPRESSION_OFF’, true);to the wp-config.php file.
Please let us know if this helps!Marko VasiljevicKeymasterHello Steven,
Thank you for reaching out and I am happy to assist you with this.
I’ve checked your website and I can see that some images are indeed converted to webp by W3 Total Cache:
https://www.l7defense.com/wp-content/uploads/2022/10/Easy-steps-1.webp
However, they are not served as webp.
Can you please share if you purged the cache once the conversion was completed? To check if your WordPress environment supports WebP, navigate to Site Health > Info > Media Handling and double-check that WebP is listed in the supported file formats for the library shown in the Active editor. If you find these are missing the WebP extension, consult your system administrator to set up the correct packages.
Please also make sure that the W3TC rules for webp are at the top of your .htaccess file.
Let me know if you are using any other plugins for image optimization.Thanks!
Marko VasiljevicKeymasterHello Blaženka,
Thank you for reaching out and I am happy to assist you with this.
What this means is that the files and folder permissions on the server are not set as they should in order for the W3 Total Cache to be able to add the drop-in files, create a cache folder and write the .htaccess rules.
Can you please check the files and folder permission, and make sure that their permission is set to the following:
files – 644
folders – 755
Please make sure to check this article for more details.
I hope this helps!Thanks!
Marko VasiljevicKeymasterHello Peter,
Thank you for reaching out and I am happy to assist you with this.
What you are seeing in the dev tolls may be related to Browser Caching. the pages and the assets are also cached in the browser.
The issue you shared is very interesting and I must say, I’ve never had this kind of issue reported. I don’t want to immediately exclude the W3 Total Cache as a potential problem for this, however, can you temporarily disable our plugin and see if the problem persists.
Creating new content should assign the new post ID, and there is no reason that I can think of that would cause the issue you are referring to.
Are you positive that the old content was not edited?
Please let me know if the issue is gone when the W3 Total Cache is disabled.Thanks!
Marko VasiljevicKeymasterHello David,
Thank you for reaching out and I am happy to assist you with this.
You are correct when you say that the mentioned CDN provider is not listed in the CDN settings in the W3 Total Cache.
To include this as a CDN in W3 Total Cache takes some time because we are not the only ones that have a say in this.
For the time being, you can use the “Generic Mirror” CDN Type: in the General settings CDN section, and simply replace the URL with the CDN URL to serve static content from the CDN.
I’ll make sure to have a chat with the team and we may reach out to CloudimageI hope this helps!
Thanks!
Marko VasiljevicKeymasterHello,
Thank you for reaching out.
We’ve received your email via the W3 Total Cache support channel and replied with all the information requested.
Please continue any correspondence there, as this is a public forum and no sensitive information should be shared.Thanks!
Marko VasiljevicKeymasterHello Alex,
Thank you for reaching out and I am happy to assist you with this.
The purge policy is defined in Performance>Page Cache purge policy. There you can find the options where you can specify the pages and feeds to purge when posts are created, edited, or comments posted.
The important thing to know is that the pages are also cached in the Browser Cache, using expires header and cache control header. In the W3 Total Cache, the default value is set to 1 hour.
Can you please try visiting the website in incognito mode or try to hard reload the page and see if the changes are updated when editing or posting a new post?
Thanks!Marko VasiljevicKeymasterGlad to know the problem is resolved.
You are most welcome!
We would really appreciate it if you could take a minute and post a review here. This will help us to continue offering a top-notch product to users.
Thanks!Marko VasiljevicKeymasterHello,
Thank you for your feedback.
You are correct, I’ve checked Safari and yes, the problem seems to appear only on that browser. Other browsers do not have the problem you are referring to when visiting your website.
I’ve noticed that you have Lazyload option enabled, so can you please try to add the image URL to Performance>User Experience>Exclude words: field:
https://congregationofstpiusv.com/wp-content/uploads/2020/03/BpC-PiusCrestOnly-578x1164longer.png
Save all settings and purge the cache and let me know if the problem persists.
Thanks!Marko VasiljevicKeymasterHello Larry,
Thank you for reaching out and I am happy to assist you with this.
Since this is a public forum, I’ve sent all the necessary information via the W3 Total Cache support channel.
Please make sure to check your email, and follow the instructions there.
If you have any questions, please reply to the existing email chain.Thanks!
Marko VasiljevicKeymasterHello,
Thank you for reaching out and I am happy to assist you with this.
I’ve checked your website on Chrome and Firefox, and I am not seeing the issue you are referring to, I do see that the W3 Total Cache is installed.
Can you please share which browser you are using and if you are still experiencing this problem?Thanks!
Marko VasiljevicKeymasterHello Stephen,
Thank you for reaching out and I am happy to assist you with this.
This is not specifically related to the W3 Total Cache so this question needs to be addressed to your hosting provider. Some Providers do not allow
caching plugins to be installed. For example, GoDaddy does not allow caching solutions for managed WP accounts.
Please reach out to your hosting provider for more information about this.
Thanks!Marko VasiljevicKeymasterHello Joseph,
Thank you for reaching out and I am happy to assist you with this.
First of all, if you encounter any issues with the W3 Total Cache, you do not need to restore a backup, you just need to disable specific settings, save all settings and purge the cache and see which setting in Performance>General settings may be causing the problem.
For example, If you have Page Caching, Minify, Lazyload, and Object Cache enabled, one of these settings may be causing the problem you are referring to. When it comes to images it may be Lazyload or Minify (depending on how the image was embedded), and as for the header, Minify is an obvious reason.
Since you have not shared which settings you had enabled before removing W3 Total Cache, I am unable to provide any precise information on what may be causing the problem.
I would advise you to re-install W3 Total Cache, enable the settings one by one, save all settings, and purge the cache after each setting is enabled, (checking the website after every setting is enabled).I hope this helps!
Thanks!
Marko VasiljevicKeymasterHello Matt,
The W3 Total Cache Pro licenses are valid on a per-install basis, meaning you need one for every WordPress instance you run. If you have three separate websites, you will need three licenses in total—one for each site. If you have five sites in a WordPress multisite instance, you need just one license for all five sites. If you are interested in bulk licensing we are offering plans for a single license activation on multiple installations.
The bulk of 5 activations – $350/year
The bulk of 10 activations – $500/year
Please let me know if you are interested and reach out directly via email so I can share the checkout form.
Thanks!
December 1, 2022 at 12:58 pm in reply to: Install of W3 Total Cache disabled backend block editor #71406Marko VasiljevicKeymasterHello Susan,
Thank you for reaching out and I am happy to assist you with this.
The only way to determine which feature in W3 Total Cache may be causing the problem is to disable all the settings one by one in Performance>General Settings, save all settings and purge the cache after each setting is disabled and see which one may be causing the problem.
This may happen if Minify is enabled, and specifically, if the option “Disable minify for logged-in users” is not enabled in Performance>Minify.
I can also see that you are using Cloudflare and Sucuri Cache so make sure both of those are cleared once any setting is updated in the W3TC.Thanks!
Marko VasiljevicKeymasterHello,
THank you for yoru feedback.
Yes, this can be an issue with some translations. We are working on improving this of course in future releases.
Glad to know the problem is resolved.Thanks!
Marko VasiljevicKeymasterHello,
Thank you for reaching out and I am happy to assist you with this.
Can you please try to change the default WP language to English in your WP Dashboard so that W3 Total Cache can use default English and try to Authorize the Cloudflare after these steps?
Let me know if this helps!Thanks!
Marko VasiljevicKeymasterHello Alice,
Thank you for reaching out and I am happy to assist you with this.
Please reach out to us directly via the W3 Total Cache support channel in Performance>Support, or via the website contact form, and share more information about your subscription so I can provide what you requested.
Thanks!
November 29, 2022 at 6:44 am in reply to: Do You have business/agency licenses available for W3 Cache? #71093Marko VasiljevicKeymasterHello Carter,
Thank you for reaching out and for your interest in the W3 Total Cache Pro license.
Yes, we are offering two plans for bulk activations on 5 or 10 websites.
For more information, please reach out to us directly via the plugin in Performance>Support, or via the website contact form.Thanks!
November 29, 2022 at 6:40 am in reply to: W3TC massive bandwidth consumption from AmazonAWS.com #71090Marko VasiljevicKeymasterHello Dale,
Thank you for your feedback.
W3TC should not load AWS SDK unless the AWS is being used.
The only way to determine this is to check with W3TC disabled as we were not able to replicate this behavior.
However, if blocking the Amazon requests works for you, you should keep an eye on the firewall block report and share any information that may be related.
Thanks!Marko VasiljevicKeymasterHello Mark,
Thank you for your feedback.
So the rules you’ve had for the security headers may be causing the conflict with the W3TC rules.
Can you please drop us a note directly via the plugin in Performance>Support>Bug report so we can check this for you?
Thanks!Marko VasiljevicKeymasterHello Jossef,
Thank you for reaching out and I am happy to assist you with this.
By default, is W3 Total Cache when using the Disk: Enhanced Caching method for Page Caching, query strings are not cached. To achieve that, you need to add the query string to Performance>Page Cache>Purge Policy>Advanced>Accepted query strings: filed.
To Cache everything with query string you need to use Disk: Basic caching method or memory-based Caching like Redis or Memcached, and make sure to enable the option:Cache URIs with query string variables
in Performance>Page Cache>General section of the plugin.I hope this helps!
Thanks!
November 28, 2022 at 11:48 am in reply to: W3TC massive bandwidth consumption from AmazonAWS.com #70991Marko VasiljevicKeymasterHello Dale,
Thank you for reaching out and I am happy to assist you with this.
In W3 Total Cache, the composer loads the libraries conditionally for AWS functions. AWS SDK for PHP – Use Amazon Web Services in your PHP project
If you are using AWS service, the plugin will load the AWS SDK. Are you using any of the amazon services?Does the issue persist if you disable the W3TC?
Thanks!Marko VasiljevicKeymasterHello,
Thank you for reaching out and I am happy to assist you with this.
TheLate initialization
option is not available if you are using the Disk: Enhanced caching method for Page Cache in the W3 Total Cache settings.
In order to be able to use this option, you need to switch to Disk: Basic or any Memory based caching like Redis or Memcached.I hope this helps!
Marko VasiljevicKeymasterHello Mark,
I’ve checked your website and indeed the security headers are missing. I can also see that the W3 Total cache is not enabled at the moment.
You can set up the Security headers in the Performance>Browser Cache, and scroll down to the Security headers section. There you can enable the headers you want, and make sure to save all settings and purge the cache.Thanks!
Marko VasiljevicKeymasterHello Josh,
Thank you for reaching out and I am happy to assist you with this.
I’ve checked the images and indeed, they are converted by W3 Total Cache, for example https://przdb.wpdevsite.co/wp-content/uploads/2022/08/202208_ProteaVillage_105.webpIf you find that your original image has been converted to WebP, but other image sizes are missing WebP versions, you may need to double-check that your WordPress environment supports the WebP format.
While the original image is converted via our API service, the different sizes (e.g. Large, Medium, Thumbnail) are created by your own server. For this, you must have WordPress 5.8 and the appropriate libGD or ImageMagick package available on your server.
To check if your WordPress environment supports WebP, navigate to Site Health > Info > Media Handling and double-check that WebP is listed in the supported file formats for the library shown in the Active editor. If you find these are missing the WebP extension, consult your system administrator to set up the correct packages.
Thanks!
Marko VasiljevicKeymasterHello Harry,
I am very sorry about the inconvenience.
We replied to that W3 Total Cache Premium support request shortly after it was submitted. Not sure how you never got our reply.
I’ve re-sent the email with the instructions to provide additional information and access.
Please let me know if you received the email.
Thanks!Marko VasiljevicKeymasterHello James,
Thank you for your feedback.
Well, this is very random. How were those feeds added? Some plugin or custom shortcode?
As for the query string, you can and should disable it if not needed in Performance>Browser Cache>Prevent caching of objects after settings change
Make sure to save all settings and purge the cache.Thanks!
November 21, 2022 at 10:21 am in reply to: Where is the option to exclude pages from the cache? #69796Marko VasiljevicKeymasterHello,
Thank you for your feedback.
Can you please disable the database cache if enabled and see if the issue persists?
If the issue is gone re-enable DB Cache and add/wc/v3/*
to “Never cache the following pages:” under the “Database Cache” section, save all settings and purge the cache.
I hope this helps.
Thanks! - AuthorPosts