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

Why w3tc stripping out custom HTTP headers?

$
0
0

Replies: 2

Can you tell me why W3TC removes custom HTTP headers?

I have a plugin that returns custom headers for debugging purposes, and it does this through the PHP header function. If I enable W3TC, the headers disappear. If I disable it, they reappear. And this happen even on page cache disabled.

They are all HTTP headers in the form “x-header-name”

Any idea to fix?

Thanks


Minify remove the header

$
0
0

Replies: 1

When I use Minify on my website, the header changes in mobile, in which both the logo and the menu are not visible.
i use rehub theme

Fragment Cache not working

$
0
0

Replies: 1

I’m trying to implement Fragment caching to achieve the following.
cache all pages/links unless stated otherwise.
don’t cache the shopping basket (since it is on every page)

I can cache pages and preload them.
i have certain woocommerce categories i don’t want to be cached.
As of now it’s not clear to me if i’m using the right codes and if that works as wanted.

Fragment cache doesn’t seem todo or works differently or lacks documentation since all i could find online was the below.

inside wp-config.php i added the following.
define('W3TC_DYNAMIC_SECURITY', 'Donnotcachethis');

Inside my header.php i placed the below code for testing purposes.

<!--mfunc <?php echo W3TC_DYNAMIC_SECURITY; ?> -->
<?php echo 'The time is '.date( 'H:i:s', time() ); ?>
<!--/mfunc <?php echo W3TC_DYNAMIC_SECURITY; ?> -->

This shows the current time on first page request, but same time keeps getting displayed on every f5 i use.

Both Page cache and Fragment Cache use redis server.
Late initialisation is active

And for the rest there is no information anywhere about this topic!

Comment area not working

$
0
0

Replies: 0

Hello,
Please I need your help with my blog. The comment field of my blog works fine until I installed and activated w3 total cache. If I deactivate the plugin, the comment field appears but once I reactivate the plugin, the comment field disappears.
Please, how can I solve this issue?
Thank You.

No js file management tab found in MINIFY Section

$
0
0

Replies: 0

Hi,

I have an issue in the minify section.

My minify section doesn’t contain the JS FILE MANAGEMENT tab, and because of it, I am unable to select my theme.

Please have a look & help me with this issue.

Here is the screenshot https://ibb.co/dpYYL0b

My website is https://questionpapershub.com/home/

  • This topic was modified 2 hours, 16 minutes ago by qph9697. Reason: screenshot link edited

Undoing/disabling if it fails?

$
0
0

Replies: 1

If installing and running this plugin causes issues with my site, can I simply disable/remove it without causing permanent damage?

PgCache_ContentGrabber.php

$
0
0

Replies: 1

Hello Team. I am getting this error while i put sitemap_index.xml and *-sitemap.xml in Never cache the following pages: because i want to disable to cache sitemap.. can you provide me the code that can disable to cache sitemap.
my Sitemap is : https://www.allindiandjsdrive.in/sitemap_index.xml

Trying to access array offset on value of type null

$
0
0

Replies: 0

I get PHP notice Trying to access array offset on value of type null on
line 187 in
/w3-total-cache/Util_Environment.php

Can you please fix this?


Not disabling current page cache while new page cache being generated?

$
0
0

Replies: 1

We manage a store with a page that has 650 items on it. When this page is cached it loads very fast. When not cached it can take 30 seconds or longer to render.

In experiments where we forcibly expired the page cache (updating the file mod date and editing the “time” value in the cache file), we notice that when we hit the page and the cache is being regenerated:

– The cache file’s mod date is immediately updated.
– The cache file’s size remains the same – so presumably all the “old” cache data is still there.
– While it’s generating, hitting the page with another browser gives us the message “waiting for cache” in the browser status bar.
– Once the caching is completed, the mod date of the file is updated again.

Our assumption is that during regeneration the existing cache file is retained but rendered unusable until regeneration is complete.

Is there a way around this? Is there a way that a page can continue using the “old” cache while the new cache is being generated?

As it is we’re getting some grief from the client because customers are dealing with this 30 second wait at times. We are considering building our own solution but if there’s a way to control how W3TC does this we can continue using it, which is our preference.

Thanks if anyone has any ideas.

Pagespeed Advice

$
0
0

Replies: 4

I have decreased the http requests and increased the mobile speed by minifying js and css files. Google pagespeed advices me to defer following files.

    /cache/minify/2e89a.css

    fonts.googleapis.com/css….

    /cache/minify/7eb2c.css

    /cache/minify/df983.js

    /cache/minify/ede79.js

    /cache/minify/a5204.js

How can I defer these files ? It is a critical issue for mobile speed. Thank you in advance.

Fatal error after updating to version 0.13.2

$
0
0

Replies: 29

Hi,
I updated to you plugin version 0.13.2 and received the following fatal error:

Fatal error: Uncaught Error: Class ‘W3TC\UserExperience_LazyLoad_Plugin’ not found in /wp-content/plugins/w3-total-cache/Root_Loader.php:35 Stack trace: #0 /wp-content/plugins/w3-total-cache/Root_Loader.php(165): W3TC\Root_Loader->__construct() #1 /wp-content/plugins/w3-total-cache/w3-total-cache.php(67): require_once(‘/home/…’) #2 /wp-settings.php(377): include_once(‘/home/…’) #3 /wp-config.php(88): require_once(‘/home/…’) #4 /wp-load.php(37): require_once(‘/home/…’) #5 /wp-admin/admin.php(34): require_once(‘/home/…’) #6 /wp-admin/index.php(10): require_once(‘/home/…’) #7 {main} thrown in /wp-content/plugins/w3-total-cache/Root_Loader.php on line 35

Error in version Versión 0.13.2

$
0
0

Replies: 4

To whom it may concern:
Today I updated the plugin to the version 0.13.2 and I got this error which broken my site:

Fatal error: Uncaught Error: Class ‘W3TC\UserExperience_Plugin_Admin’ not found in /home/doblerre/public_html/wp-content/plugins/w3-total-cache/Root_Loader.php:49 Stack trace: #0 /home/doblerre/public_html/wp-content/plugins/w3-total-cache/Root_Loader.php(165): W3TC\Root_Loader->__construct() #1 /home/doblerre/public_html/wp-content/plugins/w3-total-cache/w3-total-cache.php(67): require_once(‘/home/doblerre/…’) #2 /home/doblerre/public_html/wp-admin/includes/plugin.php(2255): include(‘/home/doblerre/…’) #3 /home/doblerre/public_html/wp-admin/plugins.php(177): plugin_sandbox_scrape(‘w3-total-cache/…’) #4 {main} thrown in /home/doblerre/public_html/wp-content/plugins/w3-total-cache/Root_Loader.php on line 49

I hope you can help me with this because the plugin is a good tool.

Thanks

Fatal error after updating to 0.13.2

$
0
0

Replies: 2

Attempt to create object of class W3TC\UserExperience_Plugin_Admin has been made, but file /home/gmores5/public_html/wp-content/plugins/w3-total-cache/UserExperience_Plugin_Admin.php doesnt exists#0 w3tc_class_autoload(W3TC\UserExperience_Plugin_Admin) #1 spl_autoload_call(W3TC\UserExperience_Plugin_Admin) called at [/home/gmores5/public_html/wp-content/plugins/w3-total-cache/Root_Loader.php:49] #2 W3TC\Root_Loader->__construct() called at [/home/gmores5/public_html/wp-content/plugins/w3-total-cache/Root_Loader.php:165] #3 require_once(/home/gmores5/public_html/wp-content/plugins/w3-total-cache/Root_Loader.php) called at [/home/gmores5/public_html/wp-content/plugins/w3-total-cache/w3-total-cache.php:67] #4 include_once(/home/gmores5/public_html/wp-content/plugins/w3-total-cache/w3-total-cache.php) called at [/home/gmores5/public_html/wp-settings.php:377] #5 require_once(/home/gmores5/public_html/wp-settings.php) called at [/home/gmores5/public_html/wp-config.php:107] #6 require_once(/home/gmores5/public_html/wp-config.php) called at [/home/gmores5/public_html/wp-load.php:37] #7 require_once(/home/gmores5/public_html/wp-load.php) called at [/home/gmores5/public_html/wp-admin/admin.php:34] #8 require_once(/home/gmores5/public_html/wp-admin/admin.php) called at [/home/gmores5/public_html/wp-admin/index.php:10]
Fatal error: Uncaught Error: Class ‘W3TC\UserExperience_Plugin_Admin’ not found in /home/gmores5/public_html/wp-content/plugins/w3-total-cache/Root_Loader.php:49 Stack trace: #0 /home/gmores5/public_html/wp-content/plugins/w3-total-cache/Root_Loader.php(165): W3TC\Root_Loader->__construct() #1 /home/gmores5/public_html/wp-content/plugins/w3-total-cache/w3-total-cache.php(67): require_once(‘/home/gmores5/p…’) #2 /home/gmores5/public_html/wp-settings.php(377): include_once(‘/home/gmores5/p…’) #3 /home/gmores5/public_html/wp-config.php(107): require_once(‘/home/gmores5/p…’) #4 /home/gmores5/public_html/wp-load.php(37): require_once(‘/home/gmores5/p…’) #5 /home/gmores5/public_html/wp-admin/admin.php(34): require_once(‘/home/gmores5/p…’) #6 /home/gmores5/public_html/wp-admin/index.php(10): require_once(‘/home/gmores5/p…’) #7 {main} thrown in /home/gmores5/public_html/wp-content/plugins/w3-total-cache/Root_Loader.php on line 49

W3 Total Cache and multiple Yoast Sitemaps

$
0
0

Replies: 2

I’m trying to set up cache preload in W3, and it asks for the sitemap. I’m using yoast, and when I view the sitemap, it shows me 4. These are:

post-sitemap.xml
page-sitemap.xml
category-sitemap.xml
post_tag-sitemap.xml

Which sitemap should I put into W3? Do I use all 4? If so, how should I enter them into W3?

New update Block Autoload

$
0
0

Replies: 6

Hello there!

When I made the last W3 total Cache update I immediately received an automated WordPress mail that this plugin caused a fatal error. When I checked at first everything looked alright, but then I realized that old blog posts weren’t loading on my front page when I scroll down. Usually I have an unlimited scroll with posts being automatically loaded when you scroll down, but now my page only shows the latest 6 + 1 sticky post.

Can you please fix this or doesn anyone know what to do? Deactivating the plugin didn’t help.

Thanks! Ben

WordPress version 5.4
Current theme: Modern (version 2.4.2)
Current plugin: W3 Total Cache (version 0.13.2)
PHP version 7.3.11


Cloudflare Extension and Compatibility

$
0
0

Replies: 0

I noticed that there is a Cloudflare extension developed by W3 Edge for W3 Total Cache, but there is no description of it currently on their site (at least that I could easily find).

What does it do? Does anyone know what the features are? Is it better than Cloudflare’s own plugin for WordPress? Can both plugins be active or would that just be bloat?

Also, I am sort of new to Cloudflare, but I think from just a small sample of posts that I read that is that it seems the consensus is to keep W3 Total Cache’s caching features on, but minification off on W3 Total Cache – would that be accurate? ANy other best practices to using Cloudflare with W3 Total Cache?

Thanks!

Browser cache and CloudFlare: Front page not updating

$
0
0

Replies: 0

Hi,

I ‘m currently using W3TC together with CloudFlare and everything works fine. The only thing that I’m not able to deal with is front page behavior when adding a new post.

My front page is populated with latest posts in reverse chronological order, and with my current settings I’m not able to see changes when a new post is added. The only walk around is to refresh the browser (not a hard refresh), but I would like to get it working without the need of refreshing the browser.

I know that I must have a misconfiguration, but I can’t figure it out where the problem resides.

My current configuration is the following:

·Cloudflare is configured to honor headers and I’m happy about how the rules that I added to Cloudflare are working. This seems to be working ok.

·Cloudflare W3TC extension is configured with the “Flush CloudFlare on Post Modifications” option activated and maximum Edge Cache available by Cloudflare.

·Browser Cache in W3TC is configured for CSS, JS and media with a TTL of 31536000 and a control cache “public, max-age=expires-seconds”.

·For HTML and XML TTL is 31536000 and control cache “max-age=expires_seconds,public, must-revalidate, proxy-revalidate”.

I understand that I should be using a lower TTL for HTML, buy this way I’m getting better caching ratio in CloudFlare. Seems to be working fine when editing a post, because W3TC is flushing CloudFlare cache correctly, but it is not working when adding a new post to front page.

Thank you in advance.

  • This topic was modified 3 hours, 31 minutes ago by SottoVoce.
  • This topic was modified 2 hours, 57 minutes ago by Steve Stern.

Using it with Autoptimize broke site

$
0
0

Replies: 0

I was using W3TC with Cloudflare for months, but to even improve the site performance I installed Autoptimize. But soon after installing, I realized that it broke my site and I was getting 404 not found errors on console.

The site was trying to load /wp-content/cache/autootimize…..js and few other minify.css files. Obviously I uninstalled the autoptimize but somehow my site is still looking for these files.

Now, everytime I make changes on my site, it breaks. I’ve to manually clear w3tc and Cloudflare cache and wait for like an hour to get the site fixed.

I just can’t figure out what’s going wrong.

Sometimes the site loads perfectly but sometimes it breaks.

wp-db.php on line 3351

$
0
0

Replies: 0

Hi,

I started to get this error.

Any idea?

Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, null given in /wp-includes/wp-db.php on line 3351

Thank you

  • This topic was modified 20 minutes ago by onurparlar.

The image disappear after the latest update

Viewing all 19316 articles
Browse latest View live


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