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

Purging page cache of custom post type and its archive page.

$
0
0

Replies: 1

I was wondering if anyone can aid in a page cache issue i’m having.

I have a custom post type(CPT) setup, along with it’s archive index page, Is there a way to purge cache when the CPT page is updated, and to also trigger the archive page to have it’s page cache cleared? I also have a similar problem, when updating a post (blog), my custom archive index (which is a page) needs to have it’s cache cleared manually, when ideally page cache should be purged when a post is added or updated.

Looking over existing forum posts here, there are discussions of clearing archive cache when posts are saved/updated, but I would like to apply this to CPT’s.

A quick google search shows how to achieve this programmatically with template code, but is there a workaround with the plugin it’s self?

Kind Regards.


Disabled Page Cache still showing cached page

$
0
0

Replies: 1

I’ve seen this a few times, but if i have a page that is cached and then disable the Page Caching feature altogether. The cached page will STILL be displayed, with no way to clear the cache short of uninstalling the plugin. I disabled Page Caching on the 16th of this month. I went to visit the site today and it’s still showing the cached page.

<!–
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Page Caching using disk: enhanced

Served from: http://www.example.com @ 2020-06-16 16:27:10 by W3 Total Cache
–>

What I’ve had to do is enable it, clear the cache, then disable it again just to work around this bug. Please fix this, it’s causing confusion for my clients.

Existing CDN with W3TC

$
0
0

Replies: 0

Hello –

I am trying to use your plugin to serve images from my Cloudfront+S3 distribution. I am trying to configure your plugin to point to my existing CF/S3 distribution – however when i go into the media library there are no images there – i was expecting to see the images that are hosted on my CDN.

Can you help ?

Thanks !
Jennifer

W3TC wont reset style.css

$
0
0

Replies: 0

Happens all the time.
– Dont cache pages for logged in users
– Login and edit style.css
– Purge All Caches – nothing
– Purge All Caches again – nothing – repeat 4-5 times

Open style.css directly in browser (/wp-content/themes/themename/style.css)
File shows old version
Refresh – repeat 10 times

Purge all caches again … nothing…

I end up waiting 4 hours and eventually the cache resets.
How can I force refresh style.css?

PHP warning preg_match()

$
0
0

Replies: 1

Hi,

I have been getting the following warning:

PHP Warning: preg_match(): Compilation failed: quantifier does not follow a repeatable item at offset 0 in /home/thequint/public_html/wp-content/plugins/w3-total-cache/PgCache_ContentGrabber.php on line 952

Can you help?

“The following requests are returning 404/410 responses” in the GTmetrix test

$
0
0

Replies: 1

Hello,
In the gtmetrix test I have the same “bad requests”:
The following requests are returning 404/410 responses. Either fix the broken links, or remove the references to the non-existent resources.

/wp-content/cache/minify/c7035.js?x97182
/wp-content/cache/minify/e8294.js?x97182
/wp-content/cache/minify/fcb12.js?x97182

I think it started after trying the minify settings, but I deactivated it and cleared all caches. It only appears on the shop page, everything is ok on the main page.

It is the similar problem that is described in this topic: https://wordpress.org/support/topic/w3tc-non-existent-js-and-css-in-cache-minify-throw-errors/page/
but removing all .htaccess files from the wp-content/cache directory, what is recommended here, does not work.

Can you help me with that?
Thank you
Alena

RSS feed breaks with

$
0
0

Replies: 0

Hi,
My feed was behaving strange because it was working in all feed validators when I was writting the URL with the /feed/ included but not working if writting the URL of the domain without the /feed/
That was causing Feedly and others to show an error when trying to populate the feed.

Specifically, this is the error that all validators were showing me
<?xml version="1.0" encoding="UTF-8"?><head/><rss version="2.0" ...

Encouraged by
https://wordpress.org/support/topic/rss-feed-breaks-with-w3-total-cache/
I decided to turn of the caching of the feed of W3 Total Caché, flush all cachés and voilà! It works.

I activated the option again to double check and it broke again.

Is there any way you can help me out here? I would like to cache the feed but if so, it won’t work.
Thanks in advance!

Compatibility Test – Failures

$
0
0

Replies: 1

Hi

I am building a website in WordPress using the Phlox theme.

When ever I make any changes it effects a lot of the formatting on the page.

I run the W3 Total Cache Compatibility report and below are the failures, can anyone tell me how to fix this please:

Server Modules & Resources:
Plugin Version: 0.14.2
PHP Version: 7.3.19;
Web Server: Apache
FTP functions: Installed (required for Self-hosted (FTP) CDN support)
Multibyte String support: Installed (required for Rackspace Cloud Files support)
cURL extension: Installed (required for Amazon S3, Amazon CloudFront, Rackspace CloudFiles support)
zlib extension: Installed (required for gzip compression support)
brotli extension: Not installed (required for brotli compression support)
Opcode cache: PHP6
Memcached extension: Not installed
Memcache extension: Not installed
Redis extension: Not installed
HTML Tidy extension: Installed (required for HTML Tidy minifier support)
Mime type detection: Installed (Fileinfo) (required for CDN support)
Hash function: Installed (hash) (required for NetDNA / MaxCDN CDN purge support)
Open basedir: Off
zlib output compression: Off
set_time_limit: Available
SSH2 extension: Not installed (required for Self-hosted (FTP) CDN SFTP support)
mod_deflate: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_env: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_expires: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_filter: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_ext_filter: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_headers: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_mime: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_rewrite: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_setenvif: Not detected (required for disk enhanced Page Cache and Browser Cache)

Regards
Dave


The images can’t be loaded

$
0
0

Replies: 1

Hi,

We have no any idea why our site cannot load the pictures suddenly, but it’s most likely because we minify the CSS and Js files when we tried to speed up the site. It would be great if anyone can help us out, we tried to deactivate plugin autopitimize and delet the cache, but it didnt work.

Thank you.

W3TC and RANK MATH alongside ISSUES

$
0
0

Replies: 3

Hi Team with the great plugin!

Are there any known issues relating the two plugins (W3 Total Cache and Rank Math) in the same installation?

I ‘m planning to use both plugins, yours for Caching the site and the other one for SEO.
After my search here in the forum I didn find anyone raise an issue but on google search I found an issue someone had with an error message in his/her Google Webmaster Tools: “Your file appears to be an HTML page” and Rank Math team tells them to, create another user agent group with user agent ‘googlebot’ in W3 Total Cache plugin’s options, as a solution to this problem.

As I understand both plugins use/create sitemaps.

Are there any other known issues regarding the operability of these two plugins in the same WP site?

Is there a guide somewhere to have a look, before proceeding in this form of installation to my site or a general guidance for optimal settings to avoid a conflict with these both plugins in the same installation?

Thanx in advance

Not available

$
0
0

Replies: 0

I have installed the W3 Total cache but it says not available. I am not able to active it. I have purchased domain and hosting from GoDaddy. My hosting is “Managed wordpress” hosting from godady. Please help

Critical CSS

$
0
0

Replies: 0

I am confused about how to unload all uncritical CSS from the header using PHP deregister function and enqueue it in the header.

As I am using w3 cache total plugin. So, It has a separate minified CSS file for each page. I can’t deregister and enqueue each file from theme function.php as it will load all files on each page.

I just want to unload the theme core CSS file from header and load it in the footer. If I add function to do so in the theme functions file. Will the CSS file minified by w3 cache will include that or theme Core CSS?

I mean will the minified version will have theme core style or not? If it will have then the whole file will load in header or footer?

I hope, I have explained my query.

Minify_Cache_File Issue

$
0
0

Replies: 0

Hey Dear,

I’m using this W3 Total Cache for all of my websites. Recently, I starting doing the minifying part using a PHP package called Minify for my theme to reduce the number of requests as I use many JS and CSS plugins in my themes. Everything works fine but when I press the empty cache button on the W3 plugin menu, I receive the below error. Can you help me?

Fatal error: Uncaught Error: Argument 3 passed to Minify_Cache_File::__construct() must be an instance of Psr\Log\LoggerInterface or null, bool given, called in C:\wamp64\www\MY-WEBSITE\wp-content\plugins\w3-total-cache\Minify_MinifiedFileRequestHandler.php on line 741
in C:\wamp64\www\MY-WEBSITE\wp-content\themes\MY-THEME\includes\vendor\mrclay\minify\lib\Minify\Cache\File.php on line 32

Call stack:

Minify_Cache_File::__construct()
wp-content/plugins/w3-total-cache/Minify_MinifiedFileRequestHandler.php:741
W3TC\Minify_MinifiedFileRequestHandler::_get_cache()
wp-content/plugins/w3-total-cache/Minify_MinifiedFileRequestHandler.php:296
W3TC\Minify_MinifiedFileRequestHandler::flush()
wp-content/plugins/w3-total-cache/CacheFlush_Locally.php:77
W3TC\CacheFlush_Locally::minifycache_flush()
wp-content/plugins/w3-total-cache/CacheFlush_Locally.php:87
W3TC\CacheFlush_Locally::minifycache_flush_all()
wp-includes/class-wp-hook.php:287
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:311
WP_Hook::do_action()
wp-includes/plugin.php:478
do_action()
wp-content/plugins/w3-total-cache/CacheFlush_Locally.php:201
W3TC\CacheFlush_Locally::flush_all()
wp-content/plugins/w3-total-cache/CacheFlush.php:148
W3TC\CacheFlush::flush_all()
wp-content/plugins/w3-total-cache/Generic_AdminActions_Default.php:191
W3TC\Generic_AdminActions_Default::w3tc_default_save_and_flush()
wp-content/plugins/w3-total-cache/Root_AdminActions.php:25
W3TC\Root_AdminActions::execute()
wp-content/plugins/w3-total-cache/Generic_Plugin_Admin.php:162
W3TC\Generic_Plugin_Admin::load()
wp-includes/class-wp-hook.php:287
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:311
WP_Hook::do_action()
wp-includes/plugin.php:478
do_action()
wp-admin/admin.php:232

Disable Minify

$
0
0

Replies: 0

Hello,

I am currently in a continuous effort to optimize the speed of my site (especially the pagespeed insights factors). Because of that I am experimenting with many things that may cause “problems” and I have realized that my site runs quite well (on all other speed testing platforms) but I also have many unused and unnecessary css and js loading which hold me back.

I am using W3 Total Cache since the beginning with the minify setting enabled. Yesterday during my checkups I turned off minify to see what happens and I saw some strange things which I don’t understand (I am not a programmer-just running and maintaining my simple website my own).

At my files there are still quite a lot minify files along with the originals (for example both stylesheet.min.css and stylesheet.css exist and many more). Why do they min files still exist? Shouldn’t they be deleted if I turn off minify?

At my Google Lighthouse test (at coverage) I see all the min files still loading on my page! Is it normal? Sorry for not being technical but I need some help to understand how things work.

P.S. I have done all the purge caches etc

Constantenia

  • This topic was modified 7 hours, 37 minutes ago by constangiann.

Disable Minify on AMP Only

$
0
0

Replies: 0

Google is giving us an AMP error:”Custom Javascript is not allowed”. It is due to the minified Javascript by W3 Total Cache.

Can we disable W3 Total Cache minification on AMP pages? If so, how?


Compatibility Check

$
0
0

Replies: 0

Do i have to get all these below that are requierd enabled by my host or is there another way

Plugin Version: 0.14.2
PHP Version: 7.3.19;
Web Server: Apache
FTP functions: Installed (required for Self-hosted (FTP) CDN support)
Multibyte String support: Installed (required for Rackspace Cloud Files support)
cURL extension: Installed (required for Amazon S3, Amazon CloudFront, Rackspace CloudFiles support)
zlib extension: Installed (required for gzip compression support)
brotli extension: Not installed (required for brotli compression support)
Opcode cache: PHP6
Memcached extension: Not installed
Memcache extension: Not installed
Redis extension: Not installed
HTML Tidy extension: Not installed (required for HTML Tidy minifier support)
Mime type detection: Not installed (required for CDN support)
Hash function: Installed (hash) (required for NetDNA / MaxCDN CDN purge support)
Open basedir: Off
zlib output compression: Off
set_time_limit: Available
SSH2 extension: Not installed (required for Self-hosted (FTP) CDN SFTP support)
mod_deflate: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_env: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_expires: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_filter: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_ext_filter: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_headers: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_mime: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_rewrite: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_setenvif: Not detected (required for disk enhanced Page Cache and Browser Cache)

Minify adds 1000ms to the page load!

$
0
0

Replies: 4

Hello!

Minify is adding 1000ms to the server response time!
disabling it will reduce the service time by 1000ms.

just to mention i am using this code in functions.php to rename minified files. i am not sure if it’s related!

add_filter(‘w3tc_minify_urls_for_minification_to_minify_filename’, ‘w3tc_filename_filter’, 20, 3);
function w3tc_filename_filter($minify_filename, $files, $type ){
/* better to set versions manually */
$vers = ’30_6′;
$minify_filename = $vers.$minify_filename;
return $minify_filename;
}

what’s the problem with minify.
Thanks!

Two WordPress websites connected to one database, page cache issue

$
0
0

Replies: 0

Hello,

We have two websites connected to the one database for security purposes. One is accessible for the WP backend and restricted via IP address and one is the front facing version of the website. e.g.

backend.website.com
frontend.website.com

The frontend.website.com inherits the ‘backend.website.com’ URLs so we use ob_start() to replace backend.website.com to frontend.website.com.

This set up works well for us however we are trying to improve loading and so have given the page cache functionality a go. When we enable ‘page cache’ the ob_start() seems to be ignored or overwritten and so the cache generated pages on the frontend.website.com contain the links to backend.webesite.com. Do you have any solution for this or a possibly a hook for us to tie into the page caching method you use on the plugin to allow us to use the ob_start() or similar?

I hope this makes sense, tried to explain it as best I could but let me know if you need any more clarification on this and hope to hear from you.

Thanks in advance!

  • This topic was modified 2 hours, 33 minutes ago by qpl88.

in Woo commerce Variable Product image is not Serving From CDN

$
0
0

Replies: 3

This is Website URL https://cake2homes.com/

I Checked CDN Setting But There is Issue

Variable Product image Is not Serving from CDN
Link
https://cake2homes.com/chocolate-truffle-cake-500gm

this is Non Variable Product link this one is working totally fine
https://cake2homes.com/12-mix-colour-roses

How Can i Make this use Of CDN properly

Kindly Guide
Thanks in Advance

Page CSS & JS Breaks

$
0
0

Replies: 0

I have an Elementor ‘Media Carousel’ widget on the page. However, upon activating w3 total cache, the images become wrongly sized and the slider autopay stop working. I have tried disabling ‘minify’ and purging cache both locally and CDN (using CloudFront) but none have worked so far. Are there any ways of solving this?

Viewing all 19291 articles
Browse latest View live