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

Cache auto-deletes

$
0
0

Replies: 1

Hi, i installed W3 Total Cache following all the instructions, but it doesn’t work. Pages cache auto-deletes after a while, usually less than 2 hours. What could be causing it?


Conflict with Divi 3.0 from Elegant Themes…

$
0
0

Replies: 1

Whenever I install W3 Total Cache, my site is unable to load images. The remainder of the page loads (formatting and text) but pictures are missing.

Has anyone else had this conflict with Divi 3.0 by Elegant Themes?

Solutions?

Thank you.

Edit: I’m using the most current versions of W3 total cache, WP and Divi 3.0

  • This topic was modified 1 day, 3 hours ago by zerodefects.

Google PageSpeed Insights got much worst

$
0
0

Replies: 1

After installing and setting everything up my Google PageSpeed Insights went from 71 to 52. Which makes no sense at all.

What am I doing wrong??

Website: https://www.daddydesign.com

Sidenote: my pingdom speed did get better though..

Object caching created 4096 folders, used up all inodes, crashed site

$
0
0

Replies: 1

I think something is wrong with object caching in the latest version of this plugin. I have 3 different sites running on 3 different Bluehost VPS accounts with object caching enabled. After the latest update they all created 4096 folders in the /wp-content/cache/object/ folder. Each of those folders had almost 500 folders within them. This used up all the inodes and caused at least one of the sites to go down. I checked another site that is also on Bluehost VPS, has object caching enabled, but was running version 0.9.5.1, and it only had 8 folders in the object cache folder. So, I think something is wrong in the latest update that is causing the object cache to run amok. I’ve turned off object caching for now, but a fix would be great.

  • This topic was modified 1 day ago by Makeworthy Media. Reason: Clarified hosting setup

Stylesheets enqueued with media query (min/max width) lose that restriction

$
0
0

Replies: 2

I was trying to track down why simply combining CSS was making styles that I know should be mobile-only for a plugin (The Events Calendar) appear on the full-width, desktop screen width.

I’ve nailed it down to the mobile stylesheet from that plugin being enqueued with a $media parameter of “only screen and (max-width: 768px)”

WooCommerce does it too.

What seems to be happening in the minifier is that the contents of those stylesheets are being dumped into the same file, promoting them to apply to “all” instead of the intended screen size.

If it doesn’t already exist (because I could have missed an option somewhere, that’s very possible), is there any way the minifier can have some logic built in that will preserve those media attributes in the combined file by wrapping them in @media queries?

  • This topic was modified 2 hours, 10 minutes ago by rlamb2. Reason: title was weird

sql queries being printed

$
0
0

Replies: 0

Hey I’m using this plugin from last 1 week.
Today when I viewed my source page I found that w3 cache has printed 130 lines of query on the page.

How to stop that?
And is this a security issue?

https://ibb.co/frjZfa

You can view this on the above screenshot.

How can I tell if page caching is working?

$
0
0

Replies: 0

I’ve installed and configured W3 Total Cache with the Cloudflare extension and have all basic settings applied. How can I test to see if page caching is in fact working? I can see my browser caching the pages that I’ve visited more than once, which speeds up load times, but I’m not referring to browser caching. I need to verify that my PHP files are in fact getting converted to static, flat HTML because I don’t see actual evidence of it. Also, as of now, I don’t believe Cloudflare, which is supposed to minify the HTML,CSS, and JS, has kicked in yet. It’s been about 9 hours so far. I’m only mentioning Cloudflare because I presume W3 should still be caching pages independently of Cloudflare, but I’m not 100% sure.

W3TC minify not working on first page load

$
0
0

Replies: 3

I am successfully running W3TC on a website of mine with Page/Database/Browser cache and Minify.

Only every time I purge the cache, the minified files are not loading on the first page load. Only after a refresh of the page it loads the minified CSS/JS correctly. But manually visiting pages after a purge is not very handy.

I am using a Nginx webserver with PHP7.
Hope someone can help me out here!


W3 on multisites

$
0
0

Replies: 0

i need help with multisites, i can’t active plugin or enable any thing, should i make that from network admin? and if i do that it will be affect on all sites ?

Need help with my .htaccess file

$
0
0

Replies: 2

Hello guys,

Today I have installed SSL in my domain.
Now I want to redirect all http:// to https://
But I’m having some problems…

For example, If I add this code:

RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

I think I have conflicts because of this one:
RewriteCond “%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%`{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html” -f
RewriteRule .* “/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html” [L]`

Can someone give me a little help how to add redirect in my htaccess file correctly?
My file: http://paste2.org/4Ia8bpyZ

Hope someone can help me, thanks!

Kind Regards,
Tim

preg_match(): Compilation failed: nothing to repeat at offset 0

$
0
0

Replies: 0

i see the following warning and stack trace on basically every page of my site – it does not seem to impact correct rendering but is playing havoc with my monitoring – can anyone comment on what i might need to look for?

Stack trace
E_WARNING: preg_match(): Compilation failed: nothing to repeat at offset 0
in preg_match called at /var/www/html/wp-content/plugins/w3-total-cache/BrowserCache_Plugin.php (218)
in W3TC\BrowserCache_Plugin::_url_has_to_be_replaced called at /var/www/html/wp-content/plugins/w3-total-cache/BrowserCache_Plugin.php (142)
in W3TC\BrowserCache_Plugin::link_replace_callback called at ? (?)
in preg_replace_callback called at /var/www/html/wp-content/plugins/w3-total-cache/BrowserCache_Plugin.php (127)
in W3TC\BrowserCache_Plugin::ob_callback called at ? (?)
in call_user_func called at /var/www/html/wp-content/plugins/w3-total-cache/Util_Bus.php (21)
in W3TC\Util_Bus::do_ob_callbacks called at /var/www/html/wp-content/plugins/w3-total-cache/Generic_Plugin.php (517)
in W3TC\Generic_Plugin::ob_callback called at ? (?)
in ob_end_flush called at /var/www/html/wp-includes/functions.php (3719)
in wp_ob_end_flush_all called at ? (?)
in call_user_func_array called at /var/www/html/wp-includes/class-wp-hook.php (298)
in WP_Hook::apply_filters called at /var/www/html/wp-includes/class-wp-hook.php (323)
in WP_Hook::do_action called at /var/www/html/wp-includes/plugin.php (453)
in do_action called at /var/www/html/wp-includes/load.php (677)
in shutdown_action_hook called at ? (?)

W3 total cache illegal characters in sitemap

$
0
0

Replies: 0

Hi, i’ve tryed to find something about this but no luck. I’ve got these chacacters at the bottom of the report graciously added by W3 Total Cache and it makes the sitemap invalid. Is there a way to avoid W3 Total cache to change the sitemap?

Thanks

W3 Total Cache Illegals characters in sitemaps

Does W3TC support multisite without any problems ?

$
0
0

Replies: 0

Hi ,
I am upgrading my site http://besthostcoupons.com/ to multisite and i am planning to install w3 total cache during the upgrade. Will there be any problems ?

Thanks.

change file remote path on aws s3 cdn to a custom directory

$
0
0

Replies: 2

hello everyone,
i use w3tc plugin for uploading images and data to aws s3 cdn.
i want to be able to upload the data to a directory of my choice,
for example instead of:

“wp-content\….”

i want:

“other-directory\wp-content\…”

looking into the code the remote path contains the location of where the file will be app load in s3 cdn.

how can i change this? which filter do i need to add?
i’m new to wordpress development so i would be glad for code examples and where to put the code, the file name etc…

thank you very much!!!

WordPress Admin bar styling

$
0
0

Replies: 0

Hi

I have noticed recently that the “Performance” link in the admin bar is being pushed down out of site. I just added the following CSS to correct it.

#wp-admin-bar-w3tc img {
    float: left;
}

Thought I would share this.

Cheers


Cache not working

W3TC Total Cache & Contact Form 7 Issue

$
0
0

Replies: 0

Hi –

RE: 2 Files:-

1) http://mangopublic.why3s.tw/test/?_wpcf7_is_ajax_call=1&_wpcf7=5961&_wpcf7_request_ver=1490696942190

2) http://mangopublic.why3s.tw/test/?_wpcf7_is_ajax_call=1&_wpcf7=5962&_wpcf7_request_ver=1490696942196

I have this issue with page load times.

On my testsite at http://mangopublic.why3s.tw/test/

There are 2 looooong requests (TTFB is about 6 seconds or so).

I shortened my search to

?_wpcf7_is_ajax_call=1

But couldn’t find anything here –

Any ideas on a solution?

I’ll post the same to ContactForm7 support also as I don’t know what is doing what 😉

Many Thanks,
Darren.

SSL Caching Breaks Site for Edge Users

$
0
0

Replies: 1

My site is SSL and I when SSL Caching is turned on, Edge users can not view the site in IE. The error:

HTML1300 Navigation occurred. dnserror.html
DOM7011 The code on this page disabled back and forward caching. From Microsoft: “This issue occurs if the server sends a “Cache-control:no-store” header or sends a “Cache-control:no-cache” header.”

Index not found error

$
0
0

Replies: 0

Hello,

w3tc version 0.9.5.2

In my cron email report I receive this

Notice: Trying to get property of non-object in /home/mysite/public_html/wp-content/plugins/w3-total-cache/PgCache_Flush.php on line 62

Notice: Trying to get property of non-object in /home/mysite/public_html/wp-content/plugins/w3-total-cache/PgCache_Flush.php on line 62

Notice: Undefined index: SERVER_PROTOCOL in /home/mysite/public_html/wp-includes/load.php on line 16

I just opened the load.php and the mentione row is part of this function

function wp_get_server_protocol() {
	$protocol = $_SERVER['SERVER_PROTOCOL'];
	if ( ! in_array( $protocol, array( 'HTTP/1.1', 'HTTP/2', 'HTTP/2.0' ) ) ) {
		$protocol = 'HTTP/1.0';
	}
	return $protocol;
}

any ideas what can be wrong?

Thanks!

W3 Total Cache screws up my website on mobile

$
0
0

Replies: 0

Hi team,

I am raising this topic after trying to fix the issue myself for about a week. I have read the web and nothing seems to help.
I had installed and configured W3 Total Cache for website load optimization. Things worked well till the next morning I found that my website is screwed up. I immediately uninstalled the plugin and deleetd folders as per recommendations on Google. It fixed the website on laptop, but responsiveness on mobile is gone. The home page sliders, the font, style everything is screwed up. I checked it on iPhone and Android and the issue is same.
Can you please help me understand a bit about the problem and the way to fix it.

My website:aashishbarnwal.com

Viewing all 19291 articles
Browse latest View live


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