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

basic cache different redirect url cached

$
0
0

Replies: 2

Hi! In Basic Cache Mode. After around 2-5 min i can search cached response to domain https://elevate-conference.xyz
But our domain are web.lv for example.
Even one day INDEX page was cached with such response.
Question: from where it come? Headers/source code? No such url in source files and plain db dump. So only left are headers.


/var/www/web/wp-content/cache/page/7d8/6ea/7d86eaf6bfcf1cc8169b884742ceb849.php:1:h<]<?php exit; ?>a:4:{i:404;b:0;s:7:"headers";a:2:{s:11:"Status-Code";i:302;s:8:"Location";s:109:" https://elevate-conference.xyz/DjzNzz?q=%2Ftag%2Fvita-varpina%2F&se_referrer=https%3A%2F%2Fwww.google.com%2F";}s:4:"time";i:1561472600;s:7:"content";s:0:"";}

cloudflare->server->nginx->php
wp 5.2.x, php 7.3, all maintained plugins updated
access log related url:


GET /tag/vita-varpina/ HTTP/1.1" 302 12 "https://www.google.com/" "Mozilla/5.0 (Linux; Android 8.1.0; Redmi S2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36

have some recommendations for debugging?


The filter w3tc_pagecache_set doesn’t seem to work

$
0
0

Replies: 0

The filter hook w3tc_pagecache_set doesn’t seem to work.

I created a test page with the content ‘foo’ and when I use:

add_filter( 'w3tc_pagecache_set', function( $_data ) {
	return str_replace( 'foo', 'bar', $_data );
} );

it doesn’t seem to replace foo with bar in the cached page.

Assets loading S3 URLs not Cloudfront

$
0
0

Replies: 3

Hi,

Theme assets are loaded via S3 and not Cloudfront. I’ve got the Replace site's hostname with set to my cloudfront ID. CDN type is set to Amazon Cloudfront Over S3

I.e.
https://{name}.s3.amazonaws.com/wp-content/themes/scr/style.css.gzip

and not
https://{number}.cloudfront.net/wp-content/themes/scr/style.css.gzip

My media assets are managed by another plugin called WP Offload Media so they are all OK, it’s just the theme JS/CSS that isn’t loading via Cloudfront

I can give login details for a developer to check if necessary!

Thank you

  • This topic was modified 4 hours, 13 minutes ago by lauraevoluted.
  • This topic was modified 4 hours, 13 minutes ago by lauraevoluted.

W3T permission error after installing plugin

$
0
0

Replies: 0

Hi, after installing and setting the W3T plugin I get this message in the top of my dashboard:

/var/www/jakob-koch.dk/public_html/wp-content is write-able. When finished installing the plugin, change the permissions back to the default: chmod 755 /var/www/jakob-koch.dk/public_html/wp-content. Permissions are currently 775.

Is this a serious error? And what am I supposed to do to change the permissions back to the default?

Hope you can help me out

Regards
Johannah Sarahmaya

Minify – exclude single css file with auto mode

$
0
0

Replies: 0

Hi, thank you very much for this beautiful plugin.

We are facing an issue with minify auto mode. It minifies all js and css which is fine but woocommerce has one issue here. Its woocommerce-smallscreen.css file also gets minified along with woocommerce-layout.css and gets preference as it is included after woocommerce-layout.css. Due to this, all the woocommerce related pages behave weirdly and cart and checkout page on the desktop shows mobile view.

So, we just want to exclude woocommerce-smallscreen.css file instead of setting the manual mode and list down more than 100 js and css files. Could you please tell me the workaround for this for auto mode to exclude just 1 or 2 files.

Thank you.

Duplicate Email are going

$
0
0

Replies: 1

Hello Team,

I am using w3 total cache with woocommerce everything is working fine.

We are facing a problem while the order is completed and the user reached on the order success page then many order emails are going to the admin as an alert and also to the user that his/her order success.

1: I have tried with excluding the order success page, cart page, check out page from the W3TC by using the option “Never cache the following pages:” which are under page cache menu but not success.

2: Also added mfunc to the option “Ignored comment stems:” which are under minify menu.

3: Also tried to disable cache for the logged in user.

While we tried after disabling the W3TC email is working fine there is no repeated email.

Thanks

Redis greyed out – Redis FAQ not up to date

$
0
0

Replies: 1

Hi There, I’m attempting to get W3TC configured with Redis.

The Redis FAQ: https://github.com/W3EDGE/w3-total-cache/wiki/FAQ:-Installation:-Redis-Server

Says to modify the file w3-total-cache/ini/db-config.php However, it appears that file is not included in my (or a few other posters) installations.

Should we create that file if it’s not available? Other than what is described in the FAQ, what else needs to be included in that file?

WordPress Multisite CDN Links for static resources shouldn’t be unique per blog

$
0
0

Replies: 0

I’m using wordpress multisite, and this may be default wordpress behavior but it’s causing problems for CDN usage.

A blog with the URL rootsite.com/blog1 has the static resources linked like
cdn1.rootsite.com/blog1/wp-content/themes/childtheme/style.css

When the same resource is available at cdn1.rootsite.com/wp-content/themes/childtheme/style.css

By including the blog slug in the url, it means that the CDN is storing unique copies of all of those static resources for EVERY SINGLE blog. Not only does it cost more, but it’s a big drag on performance.

For example, on a multisite network with 1000 blogs, there is a slow load cdn priming for each site. Whereas if the blog slug wasn’t in the url the first load of a resource on the network would be slow, but every other page load on the network would have a primed CDN to pull from.

Not sure if this is something that W3TC can address, but I’m open to any help or suggestions.


W3 total cache CDN for multisite

$
0
0

Replies: 0

I am facing the CDN url problem. I have my word press multi site a blog and main site.

when ever i am uploading the theme files using upload theme file button in CDN page it is taking wp-content/themes for both sites.

but i need for blog it should take blog/wp-content/themes and main site should take wp-content/themes

No full width after adding JS script to Minify

$
0
0

Replies: 0

Hi guys,
I’m adding scripts to increase my score at PageSpeed Insights. There is a script named domain/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp. When adding it to JS Minify, it drastically increases my score. But then my entire page is not on full width anymore, but has a margin on the right and left. Is there a way to bring back the full width without lowering my page speed score?
Thanks in advance!

  • This topic was modified 36 minutes ago by sebjel.

Plugins can’t be deferred

$
0
0

Replies: 0

Hi guys,
I wanna defer two scripts:

A)
domain/wp-content/cache/minify/5516e.default.include.c342ab.css

B)
https://fonts.googleapis.com/css?family=Roboto%3A100%2C100italic%2C200%2C200italic%2C300%2C300italic%2C400%2C400italic%2C500%2C500italic%2C600%2C600italic%2C700%2C700italic%2C800%2C800italic%2C900%2C900italic%7CRoboto+Slab%3A100%2C100italic%2C200%2C200italic%2C300%2C300italic%2C400%2C400italic%2C500%2C500italic%2C600%2C600italic%2C700%2C700italic%2C800%2C800italic%2C900%2C900italic&ver=5.2.2

I tried putting both into the CSS Minify, but they won’t disappear the PageSpeed Insights. A seems to be cut, so only wp-content/cache/minify/5516e.default.include.c342ab.css is left and for B), maybe I have to add the script at another place?

Thanks in advance!

What the preload update interval means

$
0
0

Replies: 5

Hi!
A year ago there was a topic about the preload update interval (Clarification what the preload update interval means). But it has two opposite answers. I’m wondering which of these answers is still correct?

Could someone with knowledge of the plugin’s inner working explain to me the meaning of the setting “Page Cache” > “Prime the cache” > “Update interval”?

Is the page cache invalidated after this timespan and a new set of all cached pages is created for entire site?

Or is it the interval between batches of pages are peloaded until the cache is full (set via ‘Pages per interval’)?

Thanks!

  • This topic was modified 3 hours, 58 minutes ago by dreamlandia.

old css cache staying after flushed

$
0
0

Replies: 2

Hello, so for the past few days i had to make few css changes on the website, so i uploaded new css file to the website, however when i flush the cache the old cache is being loaded until i delete browser cache by my own. This is okay for me as a developer but there is users that don’t do this and they think the website is broken. Can anyone help me on this one?

Edit: yes, i have tried every single flush method that w3tc offers.

  • This topic was modified 2 hours, 43 minutes ago by kojaa.
  • This topic was modified 2 hours, 28 minutes ago by kojaa.

Base64 code in cache files

$
0
0

Replies: 0

Hi,

We had some malicious Google Ads injections on our webshop. Wordfence found a base64 code in 2 php files in the wp-content/cache/object/

Couple of days before the ads injection, an unknown mail address tried to give himself permission to Google Search console. He even injected a html verification file into File manager. I deleted the html file and retrieved the mail address.

However, the injections still happen. The two php files in cache/object/ with the base64 code keep coming back after deleting the file.

Does anyone know how to fix this and prevent it from happening again?

Thanks in advance

Long page loading time

$
0
0

Replies: 1

Hello, I have a problem with the website. According to gtmetrix it needs 5 seconds to load. I am using the w3 total cache plugin, but in the Waterfall tab I see that something unknown to me causes a long page load: /? Vp_on_pageload = t. This also includes x-turbo-charged-by information
LiteSpeed. I used this plugin once, but at the moment I’m using w3 total cache. Additionally, it takes 1 second to load this code https://uh.nakanohito.jp/uhj2/uh.js. Nowhere on the internet can I find what it is. Can anyone look into this report and say what to do about it? https://gtmetrix.com/reports/danielsiwiec.pl/BWhJJLAC
Thanks


My homepage is broken

$
0
0

Replies: 1

W3 Total Cache and other cache plug-ins cause shifts on my homepage
1.No-

2. okey-

AWS Connectivity Broken

$
0
0

Replies: 2

The latest release 0.9.7.5 added in a copy of the AWS SDK and it broke sites that have other plugins using AWS SDK.

A previous issue posted related to this problem was tagged as resolved when it actually is not resolved. There was a suggestion to add define('W3TC_SKIPLIB_AWS', true); to wp_config but this just eliminates the duplicate SDK load error. If you do add define('W3TC_SKIPLIB_AWS', true); to wp_config then uploads and downloads stop working with the following error log:


[03-Jul-2019 07:09:58 UTC] PHP Fatal error:  Class 'Aws\Credentials\Credentials' not found in /var/www/wp-content/plugins/w3-total-cache/CdnEngine_Mirror_CloudFront.php on line 32
[03-Jul-2019 07:09:58 UTC] PHP Stack trace:
[03-Jul-2019 07:09:58 UTC] PHP   1. {main}() /var/www/wp-admin/post.php:0
[03-Jul-2019 07:09:58 UTC] PHP   2. wp_delete_attachment() /var/www/wp-admin/post.php:303
[03-Jul-2019 07:09:58 UTC] PHP   3. do_action() /var/www/wp-includes/post.php:5419
[03-Jul-2019 07:09:58 UTC] PHP   4. WP_Hook->do_action() /var/www/wp-includes/plugin.php:465
[03-Jul-2019 07:09:58 UTC] PHP   5. WP_Hook->apply_filters() /var/www/wp-includes/class-wp-hook.php:310
[03-Jul-2019 07:09:58 UTC] PHP   6. call_user_func_array:{/var/www/wp-includes/class-wp-hook.php:286}() /var/www/wp-includes/class-wp-hook.php:286
[03-Jul-2019 07:09:58 UTC] PHP   7. W3TC\Cdn_Plugin->delete_attachment() /var/www/wp-includes/class-wp-hook.php:286
[03-Jul-2019 07:09:58 UTC] PHP   8. W3TC\Cdn_Core->purge() /var/www/wp-content/plugins/w3-total-cache/Cdn_Plugin.php:215
[03-Jul-2019 07:09:58 UTC] PHP   9. W3TC\CdnEngine_Mirror_CloudFront->purge() /var/www/wp-content/plugins/w3-total-cache/Cdn_Core.php:272
[03-Jul-2019 07:09:58 UTC] PHP  10. W3TC\CdnEngine_Mirror_CloudFront->_init() /var/www/wp-content/plugins/w3-total-cache/CdnEngine_Mirror_CloudFront.php:64

Alternate suggestion was to disable other plugins that load the AWS SDK which is not a solution.

Could you add a field to the W3TC AWS admin to allow us to give you the path for the AWS SDK as previously loaded by the other plugin to use?

Thanks in advance. We have been using W3TC for 7 years with few issues. This one would be a deal-breaker though. Thanks for all your hard work though. Great plugin 🙂

Visual Composer Not Working

$
0
0

Replies: 0

Visual composer stop works after installing a w3 total cache plugin. How can I fix that?

Still trying to load Minify files when not activated

$
0
0

Replies: 4

Hi,

Im having a weird issue with minify files still trying to be loaded on a specific page, even though its disabled in the W3 settings. Its making the page load slow as it trying to preload many js and css files that doesnt exist. Tried emptying all caches but no luck.

Only happens with W3 cached page.

Screenshot of errors https://drive.google.com/file/d/1o_hLlKe4mheFDSqBIxm3DWJGACy33dfq/view?usp=sharing

Found this link that has same problems but deleting htaccess in minify cache folder didnt help https://wordpress.org/support/topic/w3tc-non-existent-js-and-css-in-cache-minify-throw-errors/

Having cache issues!!

$
0
0

Replies: 2

Hi
Getting a connect to database issue, is this related to the cache and can we setup differently?
Thanks
Earl

Viewing all 19339 articles
Browse latest View live


Latest Images

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