Quantcast
Channel: WordPress.org Forums » [W3 Total Cache] Support
Viewing all 19339 articles
Browse latest View live

expiration not specified for mp3 file

$
0
0

Replies: 3

Hello!
I have a problem in setting expires header.
When I run GTmetrix PageSpeed test. Under Leverage browser caching it shows “https://फुलफॉर्म.com/wp-content/uploads/2019/10/JCB.mp3 (expiration not specified)”
Please tell me how to add expires header for .mp3 file in W3 Total Cache.
Link of GTmtrix report – https://gtmetrix.com/reports/xn--o2bajhi3gsc7a.com/VlU1VS4c

  • This topic was modified 2 hours, 42 minutes ago by Naveen Dsouza.
  • This topic was modified 2 hours, 39 minutes ago by Naveen Dsouza. Reason: more details added

Cannot exclude page with infinite scroll ajax on it

$
0
0

Replies: 2

On the whole W3TC has been great but I’ve got a blog post listing page which has infinite scroll functionality on it which I think is Ajax driven.

Certain posts on the page have glitches like read more links which aren’t hyperlinked anymore and other graphical glitches.

I’ve narrowed this down to W3TC. If I disable the plugin the page works fine, as soon as I enable it again it doesn’t.

Am using Disk: Basic caching, Opcode: Zend Opcache, DB Cache and Browser Cache. I am not using W3TC’s minify (use Autoptimize for this) or Object Cache.

I have tried adding the page in question to both page cache and db cache exclusions in W3TC and this makes absolutely no difference. The issue remains.

What is W3TC still doing with that page which could continue to cause the issue despite the exclusions?

Expires headers do not work

$
0
0

Replies: 0

Hello,
3w total cache does not establish an expiration date or a maximum age in the HTTP headers of some of the static resources .js and .css of my web page
From GTmetrix:
https://avsautomotive.com/wp-content/cache/minify/0b9fa.js (expiration not specified)
https://avsautomotive.com/wp-content/cache/minify/12f16.js (expiration not specified)
https://avsautomotive.com/wp-content/cache/minify/5ad49.js (expiration not specified)
https://avsautomotive.com/wp-content/cache/minify/651c3.css (expiration not specified)
https://avsautomotive.com/wp-content/cache/minify/91a7c.js (expiration not specified)
https://avsautomotive.com/wp-content/cache/minify/9e525.js (expiration not specified)
https://avsautomotive.com/wp-content/cache/minify/b5b04.css (expiration not specified)
https://avsautomotive.com/wp-content/cache/minify/cd23b.css (expiration not specified)
https://avsautomotive.com/wp-content/cache/minify/de029.css (expiration not specified)
https://avsautomotive.com/wp-content/cache/minify/f6f07.js (expiration not specified)

I checked the .htaccess file and it is ok (compered to another .htaccess file from another site that i use W3TC and i dont have the same problem)

At Cache Control Policy i use “cache with max-age and validation option”.
And “Set expires header” and “Set cache control header” are both on in the CSS & JS block.

Sincerely,
Alex

SG optimizer / W3 total cache

$
0
0

Replies: 0

After extensive work, my website is finally due to launch. At this moment I’m trying to optimize my website’s speed. As for all who use Siteground there’s a plugin called SG optimizer that comes by default. My question is to you expert should I keep it or use W3 instead. I’m currently trying to configure W3 but I don’t know how to set it up with my SSL certificate (let’s encrypt). All guides are just on how to install it with Cloudfare and StackPatch.

If anyone could help clear this out I would really appreciate it.

Regards

W3C 500 Error when clearing cache

$
0
0

Replies: 0

I am having an issue whenever I empty all the caches using this plugin. I get a 500 error and the site stops loading. To get around this I have to hit the back button a few times to get back to my dashboard. Additionally, it does not seem to empty the cache when I do this.

Empty caches through WP JSON API

$
0
0

Replies: 0

Hi,

I want to purge the page cache through a JSON API request. I think I may have to register a custom endpoint but I don’t know abou the callback (maybe w3tc_pgcache_flush) and how to make the authentication. Is something like that ok?

add_action( 'rest_api_init', 'register_flush_cache_route' );
 
function register_flush_cache_route() {
   register_rest_route( 'wp/v2', 'flushpagecache', array(
       'methods'  => POST,
       'callback' => 'w3tc_pgcache_flush',
	   'permission_callback' => function($request){
			return is_user_logged_in();}
   ) );
}
  • This topic was modified 3 hours, 11 minutes ago by diplatis.

update not showing – purge?

$
0
0

Replies: 3

Hi. I had placed this in the Envira forum but on reflection I think the question belongs here.

This is not the first time this has happened…

I just just changed an image on the front page of my site. I hit update. Now the space where the image should be is black.

So: it has deleted it, but the new image does not present.

Why is this?

My current set up involves W3 Total Cache —if I choose to purge the cache this will usually sort out the issue

But doing that of course removes everything from cache, making site run slower again (is that 100% correct?).

If so, how long does it take to get the site back to where it was in terms of caching?

I have not cleared the cache, so if anyone can take a look at https://fotoscopic.com/ they will see what I am talking about.

Thanks for any tips,
DJ

Add tls support for Redis

$
0
0

Replies: 3

Can you please add schema support for connection to Redis in Cache_Redis.php file?

Just need to change line
list( $ip, $port ) = explode( ':', $server );

to
list( $ip, $port ) = preg_split( '~:(?=[^:]*$)~', $server );

Example server string:
tls://127.0.0.1:6379

I need it to use with DigitalOcean managed Redis, it’s using TLS by default and no options to switch it off.


slider revolution is killed by w3 total cache

$
0
0

Replies: 1

slider revolution is killed by w3 total cache and in doesn’t work properly
i uninstalled w3tc and remove all related code in .htaccess
i didn’t use the minify option
what should i do know?

Duplicate minified files

$
0
0

Replies: 0

Hi @vmarko,

my manual minify settings work now, but I am getting some duplicate minified cache files.

e.g.:
ba16f.archive-include.c134566.js
ba16f.archive-include.c134566.js?x123685

Is w3tc generating the “?x123685” and adding the duplicate file?

How do I select minified files with random version numbers? is regexp possible?

Thanks, Greetings
doc

Purge from CDN Bulk option

$
0
0

Replies: 9

Hi,

Im in a situation where I need to use Purge from CDN on a couple hundred images in media. I can only see a single purge from CDN for each individual image, it would be really helpful to be able to bulk select multiple images from Media and perform Purge from CDN on them at once.

Thank you.

Access denied intermittent error for only one or two users

$
0
0

Replies: 0

We have two administrators who are intermittently getting

Access denied.

(exactly that case and punctuation).

It is the only thing on the page.

users can work around the home page access error using site URL’s besides the home page.

We found a few programs that output that exact string, turned them off, and the error still returned.

Today we found that exact string in
/wp-content/cache/page_enhanced/www.domain.com/_index_ssl.html

Note that we run without the www as our canonical domain.

With no other changes on the client or server side,
– turning off Page Cache did not give the user access
– turning off W3 Total Cache and emptying the cache directory of all contents DID give the user access

In plugins/w3-total-cache/ini/web.config there is a directive to create the _index_ssl.html file at the place where I found that file with the contents

Access denied.

I did not think removing W3 TC would work, since I thought that web.config was for IIS, and this site is running Apache.

Can you please confirm whether web.config is engaged on Apache, and regardless, what those lines of code are trying to do under

rule name=”w3tc_pagecache_ssl” stopProcessing=”true”

They seem to be creating this file that the admin user is encountering intermittently, though I would agree this is only a guess.

Thank you for any insight.

Issues after installing W3 Total cache

$
0
0

Replies: 0

Hello,

my wp website was working normally till yesterday. I have installed W3 Total Cache and tried the Preview before enabling it…. then I started getting 500 – 503 errors and now it takes ages to load the new page/new post page (when the plugin is disabled). When the plugin is enabled I get the 500 errors.

Could you please help me and tell me an email address in order to give you the details about my wp installation?

Thanks

Redis option not enabled

$
0
0

Replies: 0

Hi,

I am (yet another person!) having trouble with W3TC and Redis. WordPress and Redis are on the same server.

I have:
– installed and verified that Redis is running (ping/pong).
– installed phpredis and verified with php -r "if (new Redis() == true){ echo \"OK \r\n\"; }"
– followed the FAQ and added db-config.php in the plugin ini folder with (taken from the sample in the same dir):


<?php

define( 'W3TC_CONFIG_CACHE_ENGINE', 'redis');
define( 'W3TC_CONFIG_CACHE_REDIS_SERVERS', '127.0.0.1:6379' );

The Redis option is still disabled and I am not sure where to look next.

OpCache not refreshed after php7.2 update CVE-2019-11043

$
0
0

Replies: 0

OpCode cache purge error.


Cookie group not working on posts/page

$
0
0

Replies: 0

Hello,
I have the community version of the plugin setup with page caching (enhanced disc). I also have a cookie that displays a different menu based on it’s value. There are only two states. I have this set up in the cookie groups:

menu_b
my_cookie=menu_b

this is correctly causing two versions of the homepage to be saved. one at _index_ssl.html and another at _index_menu_b_ssl.html this seems to work perfectly for the homepage and any archive page. two versions are saved each with the correct menu.

The issue I’m having is that any single page/post does not work. if I view a page with the cookie set to menu_a it will save the _index_ssl.html then I switch to menu_b and try to view the same page and it will create _index_menu_b_ssl.html but the content of this page will be the same as menu_a. I can also reverse this process, and get the adverse. I’m guessing that on the first visit of the page with the cookie it’s loading the cached page to create the new cached page instead of loading the page from wordpress. Another way – it’s correctly identifying that the page has a cookie and needs to generate a new cached page but it’s caching the wrong content (basically just duplicating the already cached page).

I’ve also tried setting up two cookie groups menu_a and menu_b but got the same results.

Any help would be appreciated.

Deleted pages still cached

$
0
0

Replies: 0

We had a page that was cached using disk extended. However, after the page was deleted, it is was served from the cache. Even after we purged ALL caches. Shouldn’t it have given a 404-not found status? How can I make sure it is deleted completely from cache? Do I have to remove it from wp-content/cache/page_enhanced?

We did a 301-redirect in .htaccess, but that shouldn’t really be necessary?

Thanks in advance

W3 Total Cache not working

$
0
0

Replies: 2

I have downloaded W3 Total Cache Version 0.10.1 and my WordPress version is 5.2.4
But the plugin is not working on my site. It’s showing me the message
`
This plugin is not allowed on our system due to performance, security, or compatibility concerns. Please contact support with any questions.”
`
Please help.

Exclude User-IPs from Caching

$
0
0

Replies: 1

Is ist possible to exclude specific user-IPs from Caching, similar to excluding user agents?

siteurl/home is being cached and cannot be cleared with WP CLI

$
0
0

Replies: 3

I changed the siteurl/home by mistake to a wrong URl, and now it keeps redirecting to the wrong URI. I cannot empty the cache. I tried with the WP CLI command:

wp cache flush

and

wp w3-total-cache flush all

But it doesn’t work.

The only thing that works is disabling the whole plugin. If I reenable the plugin, it starts to redirect to the wrong URL again…

What to do? Currently caching is disabling on our production site.

Viewing all 19339 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>