Replies: 0
Hi, there is a “Purge All Caches” as in HERE I have Cloudfare linked to W3 Total, now if I use “Purge All Caches”, will it delete my cloudfare cache as well?
- This topic was modified 2 hours, 20 minutes ago by tvrhossain.
Replies: 0
Hi, there is a “Purge All Caches” as in HERE I have Cloudfare linked to W3 Total, now if I use “Purge All Caches”, will it delete my cloudfare cache as well?
Replies: 2
hello,
Can I ask, does your plugin support PHP 7?
thank you
Replies: 3
Hello!!
Are you ready for Gutenberg?
Thank you
Anibal
Replies: 1
Hello
i am using redis object cache. at the same time can i install w3 total cache and configure the object cache.
whether it will give any conflict ?
Thanks
Replies: 4
Hi,
I was controlling some parameters of my website, and found that the Yoast sitemap is been cached no matter which settings I set within W3TC control panel. URL mysweetlaura.it/sitemap.xml is not being cached, but Yoast redirects it to mysweetlaura.it/sitemap_index.xml and this final location is being cached. Despite excluding this with regex in “never cache this pages” in page cache, browser cache, minify, etc. Primed cache is not enabled, nor database cache. The only way I found to prevent this situation is disabling browser cache, but this obviously, won’t be the case of having a caching plugin.
I will really appreciate any helpful information on this. I searched for it on Google and within this forum to no avail.
This is what I see on tools.seobook.com/server-header-checker (browser cache enabled):
*****************************
Requesting https://www.mysweetlaura.it/sitemap.xml
SERVER RESPONSE: HTTP/1.1 301 Moved Permanently
Date:
Mon, 11 Jun 2018 22:43:35 GMT
Server:
Apache
X-Powered-By:
W3 Total Cache/0.9.7
Expires:
Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control:
no-cache, must-revalidate, max-age=0
Upgrade:
h2,h2c
Connection:
Upgrade, close
Location:
https://www.mysweetlaura.it/sitemap_index.xml
Vary:
User-Agent
Referrer-Policy:
Content-Type:
text/html; charset=UTF-8
Redirecting to: https://www.mysweetlaura.it/sitemap_index.xml
SERVER RESPONSE: HTTP/1.1 200 OK
Date:
Mon, 11 Jun 2018 22:43:36 GMT
Server:
Apache
X-Powered-By:
W3 Total Cache/0.9.7
X-Robots-Tag:
noindex, follow
Upgrade:
h2,h2c
Connection:
Upgrade, close
Cache-Control:
max-age=3600
Expires:
Mon, 11 Jun 2018 23:43:36 GMT
Vary:
User-Agent
Referrer-Policy:
Content-Type:
text/xml; charset=UTF-8
*****************************
FWIW, same tool, browser cache disabled:
*****************************
Requesting https://www.mysweetlaura.it/sitemap.xml
SERVER RESPONSE: HTTP/1.1 301 Moved Permanently
Date:
Mon, 11 Jun 2018 23:28:55 GMT
Server:
Apache
Expires:
Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control:
no-cache, must-revalidate, max-age=0
Upgrade:
h2,h2c
Connection:
Upgrade, close
Location:
https://www.mysweetlaura.it/sitemap_index.xml
Vary:
User-Agent
Content-Type:
text/html; charset=UTF-8
Redirecting to: https://www.mysweetlaura.it/sitemap_index.xml
SERVER RESPONSE: HTTP/1.1 200 OK
Date:
Mon, 11 Jun 2018 23:28:55 GMT
Server:
Apache
X-Robots-Tag:
noindex, follow
Upgrade:
h2,h2c
Connection:
Upgrade, close
Vary:
User-Agent
Content-Type:
text/xml; charset=UTF-8
Replies: 13
I am facing caching issues for the logged in user.
I also did checked for the cache to be disabled for the logged in user, please see this screenshot – https://prnt.sc/jtxhpv
And also added code in the header.php file:
<?php
if(is_user_logged_in())
{ ?><meta http-equiv=”Cache-Control” content=”no-cache, no-store, must-revalidate” />
<meta http-equiv=”Pragma” content=”no-cache” />
<meta http-equiv=”Expires” content=”0″ />
<?php
} ?>
But this also not working.
After user is logged in, and when come to home page he is not seeing the logout button and instead he is seeing the login/signup buttons, and after doing hard refresh and clearing only cache (CTL+ALT+DEL) it showing the logout button or if adding any query parameters to the url then also its showing the logout button if logged in.
And I also added this code in my functions.php file:
add_action( ‘wp’, ‘exploreabc_tj_flush_cache_event’ );
function exploreabc_tj_flush_cache_event()
{
if ( ! wp_next_scheduled( ‘exploreabc_tj_flush_cache_event’ ) )
{
wp_schedule_event( current_time( ‘timestamp’ ), ‘hourly’, ‘exploreabc_tj_flush_w3tc_cache’ );
}
}
Please help me out to solve this issue ASAP
Thanks
Replies: 16
Hi guys, i have an online shop using woocommerce, additionally i have installed W3. I have the following Problem and i am wondering wheather it is a Caching issue and if W3 can help me to resolve it: i am receiving orders in my woocommerce order Management backend that include several products the customer acctually DID NOT add to cart himself, e.g. the customer put only one item into cart and ordered it, but in my order Management there are 10 further articles added and shown that the customer definetly did not order and did not see in his cart, otherwise he propably would not have ordered if he suddenly sees items in his cart that he actually does not want. I have 50 orders that are fine and correct, and then one of a sudden there is that one order thats worng, next day the same issue. So my question is if it could be a Caching issue and if so, can some Settings in W3 help me to avaoid it? Your Feedback is highly appreciated, thank you in advance
Replies: 1
Hi,
Great plugin, I just have a general question.
My host (siteground) was using mod_pagespeed, which I set up to speed my site up. The stopped supporting it on May 16th. since about the 18th I’ve had a problem with wordpress popular posts where it stopped logging views, I believe it is down to some weird caching issue (not related to w3tc though i don’t think).
I’ve cleared the cache in w3tc multiple times yet on my site the minify files are prepended like this:
545b0.js.pagespeed.ce.kiMVENaXks.js
Is w3tc prepending the files with the pagespeed part or is it something my server/site is doing?
Thanks.
Replies: 1
Hi!
I need to upload some images into a custom folder inside the uploads folder (wp-content/uploads/custom_folder/image.jpg), when uploading it, the wordpress path is set correctly in the media library, but the plugin is unable to upload the file into my CDN because it doesn’t build the path correctly.
In the Media Library export tool it appears this error:
wp-content/uploads/image.jpg Source file not found.
Note that the /custom_folder/ part is missing.
Just in case, I have edit the “Custom file list” of the CDN options adding this line:
{wp_content_dir}/uploads/custom_folder/*
But still doesn’t work.
Am I missing something? any help would be very wellcome.
Thanks!
Replies: 2
I am getting an error in my dashboard that says:
Notice: Undefined offset: 1 in /home/www/wp.goodsteelforum.com/wp-content/plugins/w3-total-cache/Cache_Memcached.php on line 74
The code at that line (and surrounding lines) looks perfect:
foreach ( (array)$config['servers'] as $server ) {
if ( substr( $server, 0, 5 ) == 'unix:' )
$this->_memcache->addServer( trim( $server ), 0 );
else {
list( $ip, $port ) = explode( ':', $server );
$this->_memcache->addServer( trim( $ip ), (integer) trim( $port ) );
}
}
I have no idea how to correct this error. Can anyone lend some advice?
I am also having issues when enabling minify. When I inspect the page, I am getting this about 4-5 times with different minify file names:
c3d9b.js:101 Uncaught TypeError: jq.cookie is not a function
Replies: 2
Hi!
I have an issue (last WordPress and last W3TC version) where URLs excluded from page cache are still getting browser cache headers: “Cache-Control: max-age=86400”. So for any visitor the first page load will work fine but the second one will use a cached version from the browser instead of submitting the request to the server.
I’ve been digging into this issue and the page cache exclusion is working correctly and nothing is saved inside wp-content/cache/page_enhanced. But the browser cache header is set because of the rule: “ExpiresByType text/html A86400” inside the browser cache section in the main .htaccess.
I think this rule is not necessary as the cached pages have a special .htaccess inside “wp-content/cache/page_enhanced/domain” with:
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/html M86400
</IfModule>
So removing the first rule would ensure no html page is cached excepting the ones from the page cache.
I’m not sure my fix is the best possible one but for now we are removing that rule. Can you fix this in the next plugin version?
Thanks!
Replies: 6
Hello
I’ve found that W3 conflicts with Divi theme builder.
When W3 is activated, many builder functions do not show on builder preview. Deactivating W3 solve the matter.
Divi support is aware of this and they point to you.
Will appreciate if you’ll fix this
Thanks
Replies: 1
My website was working fine yesterday, but today only the admin dashboard broke, the front end looked fine. Nothing has changed on my website for a good 3 days.
First, a few things broke in the dashboard, then everything did.
I am getting console errors saying “Failed to load resource” and “Uncaught ReferenceError: jQuery is not defined”. When I went and deactivated the w3 total cache plugin it went back to normal.
I don’t have caching turned on in the plugin as I handle all of that on the server side.
I have no automatic updates and I updated my beta, staging, and production sites Monday. Production is the only one who is having this issue. All sites are close to identical so this also isn’t making any sense to why it randomly broke.
Replies: 2
Hello,
I found a problem when upload an image to wordpress. I get this message “Notice: Undefined variable: queue_failed in /home/minuevad/domains/mnd.com.es/public_html/wp-content/plugins/w3-total-cache/Cdn_Core.php on line 269”
In the code the function purge I have this definition
“function purge( $files, &$results )”
but in the function header information is
“* Purges files from CDN
*
* @param array $files consisting of array(‘local_path’=>”, ‘remote_path’=>”)
* @param boolean $queue_failed
* @param array $results
* @return boolean”
I think someone forgot include or remove the variable queue_failed in the function code because in the line 269 is used.
Can someone help me patch this code please?
Thank you in advance!
Replies: 8
When I run one of my sites through WebPageTest.org, I get flagged for browser cache problems. Don’t really know why I’m seeing this …
Leverage browser caching of static assets: 48/100
FAILED - (3 seconds) - https://example.com/wp-content/cache/minify/586d0.default.include.e3da65.css
FAILED - (3 seconds) - https://example.com/wp-content/cache/minify/586d0.default.include.a750ab.js
FAILED - (3 seconds) - https://example.com/wp-content/cache/minify/586d0.default.include-footer.5c6b3c.js
WARNING - (23.5 hours) - https://example.com/wp-content/uploads/2017/06/services-2.jpg
WARNING - (23.5 hours) - https://example.com/wp-includes/js/wp-embed.min.js
WARNING - (23.5 hours) - https://example.com/wp-content/plugins/cookie-notice/js/front.min.js
Replies: 2
Greetings
in last weekend we updated 4 server machines all equipped with ubuntu 16.04 and Plesk 17.8.11. Last day we are unable to upload media in website hosted in webspace on one machine. Wpress backend shows a generic http error, and, most important, nginx after a failed upload attempt goes in 504 timeout for several seconds( depends how many media are upload at same time, more uploads, more time to restore from 504).
In wpress logs are not visible errors.
At the end we found the issue is related to yours plugin w3 total cache.
After disabling it media uploads restarted working.
Thanks,
Replies: 1
Hello
On desktop my site loads fine but in mobile I see a white page.
Do you know what could be the most likely cause?
Best regards
Replies: 3
Hello, I have been using your wonderful plugin for a while, but today as was going to some of its features under browser cache I discovered that some new features has been added so i enabled some of this features and it then break my site, returning 500 error. So I can’t access the admin dashboard and the frontend is also not loading.
So I thought of using cpanel to disable the plugin, but even if I disabled the plugin, and was able to login to dashboard I will still not be able to fix the problem because I won’t be able to disable the features with cpanel.
So please what should I do
Replies: 8
Hey !
I tried a lot of things to exclude a count function from the w3c total cache plugin. But it doesn’t work. Version of my plugin : 1.6.2. I have the free version.
Here is my function (functions.php)
function wpb_set_post_views($postID) {
$count_key = ‘wpb_post_views_count’;
$count = get_post_meta($postID, $count_key, true);
if($count==”){
$count = 0;
delete_post_meta($postID, $count_key);
add_post_meta($postID, $count_key, ‘0’);
}else{
$count++;
update_post_meta($postID, $count_key, $count);
}
}
//To keep the count accurate, lets get rid of prefetching
remove_action( ‘wp_head’, ‘adjacent_posts_rel_link_wp_head’, 10, 0);
Could you help me ? Thank you
Replies: 1
On turning on page cache I get the following error:
You don’t have permission to access /wp/wp-content/cache/page_enhanced/www.mywebsite.com///_index.html on this server.
It only occurs for the main index page. All other pages are fine.