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

Deleting from s3 when deleted from library

$
0
0

Replies: 0

Hello

I’m successfully using the plugin to serve assets from an s3 bucket however, when i delete an item from the media library (permanently delete) it doesnt get removed from the s3 bucket. It does get removed locally though.

In an effort to keep things properly synced, is there a setting which will delete from s3 when deleted from the library?

Best
Richard Starr


Header status 503 issue

$
0
0

Replies: 1

Hello All,

We can’t use wp_die() function in custom plugin. W3 total cache restrict use of wp_die() and set header status as 503. I am using wordpress core function but i don’t know why they have set 503 status.

I can’t use wordpress core function. Kindly check this and let me know ASAP.

Thanks In advance

running out of option

$
0
0

Replies: 0

Hello

IN an earlier post on a different topic, I mentioned:

The issue with Render Blocking Scripts and CSS with I resolved with Autoptimize

PageSpeed Insights now reads 64 (better than 51). So thats good.

Going back to https://www.thinkwithgoogle.com/feature/testmysite/

My load time has reduced from 3.9 secs to 2.5 secs so happy days.

But 2.5 is still “slow” by google rating.

I am already using page cache with W3 Total Cache.

(I have every option checked except:
Don’t cache front page
Cache URIs with query string variables
Don’t cache pages for following user roles.

Apart from these, I believe everything to be in place.

Could anyone please recommend any other configuration that I might have missed?
Yesterday saw me make quite good progress (down to 2.5 secs according to thinkwithgoogle) and I am now realy keen to press on and squeeze it down to a decent time.

Thank you W3TC people.

DJ

cache folder group write permission

$
0
0

Replies: 3

I noticed my /wp-content/cache/ folder has drwxr-sr-x (745), even though the general file permission on server is drwxrwsr-x (765).

This prevents my deploy script from purging the caches (Permission Denied). Is there something in the plugin that sets this permission? I would like to know how I can overcome it.

Processs when deploying new code

$
0
0

Replies: 1

When we deploy new code to our servers, should the /wp-content/cache/ folder be kept or wiped?

W3 TC with Cloudflare

$
0
0

Replies: 1

Hello
I have W3TC cache enabled at page, database, and browser.
But I also have Cloudflare caching level set to Standard.

My Envira support has pointed out this isnt best practice.

What is the best advice for which setting dis/able?

Thank you,
DJ

‘postprocessor’ option usage

$
0
0

Replies: 0

Hi,
I encounter an issue trying to access this option programmatically, i couldn’t figured out a way.

The ‘postprocessor’ is being used within Minify class, there is a comment right above it which say:

// do any post-processing (esp. for editing build URIs)

Which is great, just want i need, i callback function so i can change the minified content before is being saved on the server.

But how to i set this option programmatically?! Apparently there’s no way to do that. The Minify class is being invoked in Minify_MinifiedFileRequestHandler and the options array is being created at function process() through $serve_options variable.

There is an invocation on the same function on $this->_config->get_array( 'minify.options' ) but i either don’t see a way to add a default option to ‘minify.options’

Thanks for your help !

Clearing AMP page cache

$
0
0

Replies: 1

Hello, W3 is working perfectly with my regular site. Meaning when a post is updated that post cache is cleared and fresh version is available to guests right away. When a post is published, that category page cache is cleared right away and guests are able to see newly published post under related category page(s) right away.

However, same function doesn’t happen with my AMP pages. What changes do I need to make so that AMP version pages cache is also cleared?

Note: Cache is from my site, not google. As I check direct amp links.

Note: I am using my theme’s AMP plugin. Links structure is having “amp/” at the end example amp pages links are “post-link/amp/” “category-link/amp/”.

Regards,

  • This topic was modified 10 hours, 5 minutes ago by jamesja.

Front Page cache Problem

$
0
0

Replies: 1

Good Evening
I have installed the plugin (Login Logout Register Menu)
In W3 total cache the following are clicked
1) Don’t cache pages for logged in users
2) Don’t cache pages for the following user roles (Administrator Editor Author Contributor Subscriber Customer Shop manager SEO Manager SEO Editor)

I have also tried to click (Don’t cache front page) with no result at all.

So my problem is this

When i register and click on the homepage I am still prompted to login while the user or the admin are already logged in!If i press “ctrl + f5” it changes it to the logout option as it should be.Also if i click on any other page the logout option is functioning normally.It’s as if the page isnt refreshing and staying in it’s original state before the registering.Is there any solution to this problem?

Thank you for your time.

Spacing issue

$
0
0

Replies: 1

Hi

I have tried to add spacing in between the Archive page but it is not showing the spacing when I view the page live. The Astra theme support suggested that I unchecked the Minify button under the General setting tab. But I dont know if this is the best way out cos this also involves minification of JS and HTML and I don’t know how this will impact the overall website.

I saw another setting in the minify tab where there is a CSS minification settings. Would unchecking this option be a more appropriate option as opposed to unchecking the Minify setting in the General Setting tab?

Pls advise

Thanks
Kym

PHP 7.2 Compatibility

Purge page cache no longer works

$
0
0

Replies: 0

We use w3 for page cache (and db, object, and browser cache). We have it set to auto-purge the page cache upon creating/editing front page, posts, pages, and many more. This has always worked without problem.

However, we recently move everything to a larger server infrastructure with load balancing and NFS. We have an NFS Server and multiple web servers in front of it. Additionally, the new servers now have php 7.3 as opposed to php 5 on the old server.

Ever since the move, the auto purge doesn’t trigger (or maybe it does but isn’t working?). If we manually empty the cache, it works. It just won’t do it automatically when we add a new post.

Any ideas why? How we could fix? Or how we could troubleshoot this on a live site?

Another note, we actually have two separate WordPress sites (not multiple, full separate installs) and both sites are experiencing this exact problem, and both worked on the old server.

As a side note, we do NOT have “Enable file locking checked” and we also do NOT have “Optimize disk enhanced page and minify disk caching for NFS” checked. I know the latter one might improve performance, but our issue is not performance related, so we haven’t checked that yet.

Hook on page cache flush

$
0
0

Replies: 0

Hi everyone,

i’m looking for a hook in W3 Total Cache before/after single page cache is flushed. I want to attach my own code on every single file flush.

For example, i’ve updated single post, and W3TC flushed those page caches (depending on my configs):

– post
– home page
– category page

And i want to know when and which paths were flushed.

Is there any hook for this?

Page Cache – Only for home and archive?

$
0
0

Replies: 0

Can’t seem to find an answer for this anywhere…

We run a restricted content site. When pagecache is enabled users can get access to posts that they shouldn’t

Does anyone know of a configuration that will only page cache the home and archive/category pages?

Thanks

W3 Total Cache Blocking Ability to Login to Site

$
0
0

Replies: 0

This has now happened twice. I wake up to find out I can’t login to my site and then I get an email from WordPress giving me a recovery link and saying the W3 Total Cache is causing an error. Luckily, it’s an easy fix and I just have to hit “resume” but why is this happening?

The WordPress recovery link email gave me this information:

Error Details
=============
An error of type E_ERROR was caused in line 599 of the file /home/wherefoo/public_html/wp-content/plugins/w3-total-cache/Util_PageUrls.php. Error message: Uncaught Error: Call to a member function get_feed_permastruct() on null in /home/wherefoo/public_html/wp-content/plugins/w3-total-cache/Util_PageUrls.php:599
Stack trace:
#0 /home/wherefoo/public_html/wp-content/plugins/w3-total-cache/Util_PageUrls.php(345): W3TC\Util_PageUrls::get_feed_link(‘rss2’, NULL)
#1 /home/wherefoo/public_html/wp-content/plugins/w3-total-cache/PgCache_Flush.php(154): W3TC\Util_PageUrls::get_feed_urls(Array, NULL)
#2 /home/wherefoo/public_html/wp-content/plugins/w3-total-cache/PgCache_Plugin.php(348): W3TC\PgCache_Flush->flush_post(5438)
#3 /home/wherefoo/public_html/wp-includes/class-wp-hook.php(288): W3TC\PgCache_Plugin->w3tc_flush_post(5438)
#4 /home/wherefoo/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
#5 /home/wherefoo/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#6 /home/wherefoo/public_html/wp-content/plugins/w3-total-cache/CacheFlush_Locally.php(156): do_action(‘w3tc_flush_post’, 5438, NULL)
#7 /home/wherefoo/public_ht


Page Cache Preload doesn’t seem to stop

$
0
0

Replies: 8

Page cache ist enabled.

Cache preload ist enabled. I use a sitemap.

Looking at the server log files and the cache directory /home/username/public_html/wp-content/cache/page_enhanced/www.example.com/, I see the following behavior after a cache flush/when the garbage collection interval gets triggered:

Cache preload is working, pages are generated.

After some time, all the pages were generated.

But then the preload command doesn’t stop. I still see preload cache GET requests in the log file.

This doesn’t make any sense, because it causes unnecessary server load.

Is that the expected behavior or am I doing something wrong?

Thank you.

Use same distribution as production on local

$
0
0

Replies: 0

I’d like to use the same CDN distribution on local as I do on production. How is this possible? Currently ORIGIN cannot be changed.

images disappearing out of nowhere

$
0
0

Replies: 1

Hey guys,

W3TC is causing a 500 internal error at my images on my website (magisco.nl).

Sometimes (out of nowhere, did not change anything) some images across my website give a 500 internal error (as I saw in my chrome console). When I deactivate w3tc the error turns into an 401 error.

Do you know a solution for this? Is that a known bug with W3TC.

Anyway, thanks for the great plugin guys!

Cheers,
Wesley

sitemap XML page appear without style.

$
0
0

Replies: 1

Hi,
The sitemap XML page created by rank math plugin always appear without style.

but after I clear the cache it showing perfect, then the style disappear.

It looks like the problem from the W3 total cache

Could you please help me

.htaccess files for Apache 2.4

$
0
0

Replies: 4

Maybe you can rewrite the .htaccess file that it will meet requirements for Apache 2.2 and Apache 2.4.
The directive “Allow from all” ist not acutal for Apache 2.4 – it has to be “Require all granted”.
Maybe this can be determined by the plugin when it is getting activated or there could be a configuration switch to let the administrator decide which version of .htaccess files to use.

Viewing all 19408 articles
Browse latest View live