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

Optimizing Woocommmerce Rest API value calls

$
0
0

Replies: 0

ON the front page, there is a filter. Each filter is calling values from woo-commerce attribute.

Each drop down is making this call

https://oranonline.in/wp-json/wc/v2/products/attributes/18/terms?consumer_key=ck_cacbc40a74e687c02e8e6e7f2f46750b67e*****&consumer_secret=cs_56048eb39ee8d9a92491ea0a4484df11fb8*****

Simply the problem is that This is taking hell lot of time, despite being on VPS. How can this be optimized so that after first field is selected, next loads really quickly.

Also the above calls fetch data like,

[{“id”:633,”name”:”1000VA”,”slug”:”1000va”,”description”:””,”menu_order”:0,”count”:1,”_links”:{“self”:[{“href”:”https:\/\/oranonline.in\/wp-json\/wc\/v2\/products\/attributes\/18\/terms\/633″}],”collection”:[{“href”:”https:\/\/oranonline.in\/wp-json\/wc\/v2\/products\/attributes\/18\/terms”}]}},

and many more. If we can reduce the loading time, it would be of great help.

I am Using a VPS from Bluehost.
Also using this plugin, https://wordpress.org/plugins/wp-rest-api-cache/

  • This topic was modified 1 hour, 18 minutes ago by prashantrulz.

AMP Page – Issue with minification

$
0
0

Replies: 0

Hello

I’m testing my website withe the following conf :
Wordpress : 4.9.8
AMP : 0.7.2
W3TC : 0.9.7

On my AMP page, the CSS and JS minified are loaded but it’s not the case on my live environment withe the following conf
Wordpress : 4.9.8
AMP : 0.6.2
W3TC : 0.9.6

On W3TC I configure, on live and test environment, Never minify the following JS files and Never minify the following CSS files for /*/amp/ and /*/?amp
And on extension, I activate AMP

Someone could help me please?

Regards

404 errors in product pages after installing SSL

$
0
0

Replies: 2

Hi,

After installing a SSL certificate in my site, all products pages shows 404 errors.

But if I purge all caches in the plugin, that product pages came back online for some hours. Then appear again 404 errors until I purge all cache again.

Please help, this is critical for me.

Anyone with a similar issue?

What do you recomend?

Thank you
Best Regards

browser cache activations breaks website (blank page)

$
0
0

Replies: 3

Hello,

if I activate the browser cache in the settings of W3 total cache, there is only a blank page displayed.
With a fresh WP installation without plugins it works.

Can someone help? Any ideas?

Regards,
Andreas

wp-admin login Error 500 when Enable Object cache with redis

$
0
0

Replies: 0

wp-admin login failed with the following screen

This page isn’t working
teeplus.info is currently unable to handle this request.
HTTP ERROR 500

When I check wp-content/debug.log, there is a lot of errors similar to the following in wp-content/debug.log

[18-Aug-2018 03:55:23 UTC] PHP Notice: Redis::select(): send of 23 bytes failed with errno=32 Broken pipe in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 352
[18-Aug-2018 03:55:23 UTC] protocol error, got ‘ ‘ as reply type byte

[18-Aug-2018 03:55:23 UTC] PHP Notice: Redis::select(): send of 23 bytes failed with errno=32 Broken pipe in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 352
[18-Aug-2018 03:55:23 UTC] PHP Notice: Redis::get(): send of 65 bytes failed with errno=32 Broken pipe in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 86
[18-Aug-2018 03:55:23 UTC] PHP Fatal error: Uncaught RedisException: protocol error, got ‘3’ as reply type byte
in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php:86
Stack trace:
#0 /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php(86): Redis->get(‘w3tc_teeplus.in…’)
#1 /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Base.php(96): W3TC\Cache_Redis->get_with_old(‘0optionsallopti…’, ”)
#2 /var/www/rocketstack/wp-content/plugins/w3-total-cache/ObjectCache_WpObjectCache_Regular.php(157): W3TC\Cache_Base->get(‘0optionsallopti…’)
#3 /var/www/rocketstack/wp-content/plugins/w3-total-cache/ObjectCache_WpObjectCache.php(36): W3TC\ObjectCache_WpObjectCache_Regular->get(‘alloptions’, ‘options’, false, NULL)
#4 /var/www/rocketstack/wp-content/object-cache.php(52): W3TC\ObjectCache_WpObjectCache->get(‘alloptions’, ‘options’, false, NULL)
#5 /var/www/rocketstack/wp-includes/option.php(190): wp_cache_get(‘alloptions’, ‘options’)
#6 /var/www/rocketstack/wp-includes/functions.php(1369): wp_load_alloptions( in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 86

[18-Aug-2018 03:59:24 UTC] PHP Notice: Redis::select(): send of 23 bytes failed with errno=32 Broken pipe in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 352
[18-Aug-2018 03:59:24 UTC] protocol error, got ‘e’ as reply type byte

[18-Aug-2018 03:59:24 UTC] PHP Notice: Redis::select(): send of 23 bytes failed with errno=32 Broken pipe in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 352
[18-Aug-2018 03:59:24 UTC] protocol error, got ‘ ‘ as reply type byte

[18-Aug-2018 03:59:24 UTC] PHP Notice: Redis::select(): send of 23 bytes failed with errno=32 Broken pipe in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 352
[18-Aug-2018 03:59:24 UTC] protocol error, got ‘g’ as reply type byte

[18-Aug-2018 03:59:24 UTC] PHP Notice: Redis::select(): send of 23 bytes failed with errno=32 Broken pipe in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 352
[18-Aug-2018 03:59:24 UTC] protocol error, got ‘p’ as reply type byte

[18-Aug-2018 03:59:24 UTC] PHP Notice: Redis::select(): send of 23 bytes failed with errno=32 Broken pipe in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 352
[18-Aug-2018 03:59:24 UTC] protocol error, got ‘0’ as reply type byte

[18-Aug-2018 03:59:24 UTC] PHP Notice: Redis::select(): send of 23 bytes failed with errno=32 Broken pipe in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 352
[18-Aug-2018 03:59:24 UTC] PHP Notice: Redis::get(): send of 57 bytes failed with errno=32 Broken pipe in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 219
[18-Aug-2018 03:59:24 UTC] PHP Fatal error: Uncaught RedisException: protocol error, got ‘i’ as reply type byte
in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php:219
Stack trace:
#0 /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php(219): Redis->get(‘w3tc_0_object__…’)
#1 /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php(61): W3TC\Cache_Redis->_get_key_version(”)
#2 /var/www/rocketstack/wp-content/plugins/w3-total-cache/ObjectCache_WpObjectCache_Regular.php(284): W3TC\Cache_Redis->set(‘0defaultis_blog…’, Array, 180)
#3 /var/www/rocketstack/wp-content/plugins/w3-total-cache/ObjectCache_WpObjectCache.php(50): W3TC\ObjectCache_WpObjectCache_Regular->set(‘is_blog_install…’, true, ‘default’, 0)
#4 /var/www/rocketstack/wp-content/object-cache.php(67): W3TC\ObjectCache_WpObjectCache->set(‘is_blog_install…’, true, ‘default’, 0)
#5 /var/www/rocketstack/wp-includes/functions.php(1379): wp_cache_set(‘is_blog_install…’, true)
#6 /var/www/rocketstack/wp-includes/load.php(540): is_blog_inst in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 219

CDN to be able to replace custom domains/subdomains other than home_url

$
0
0

Replies: 0

We have a custom media server running imaginary under a subdomain (media.example.com).

A hook is added to replace image urls.

After that Total cache Cdn_Plugin stopped working properly – I had to patch fill_regexes() and hardcode the custom url to make it work again.

So I have a feature request:
For CDN allow custom urls to be replaced as well.

In case if core developers are overloaded, and since we can’t disable total cache updates and we’ll need to support this patch as well, I can offer a developer hand to get this path ready for general public usage and make it available on official plugin repository.

Let me know please if this is possible.

Best regards,
Ruben

problem with ssl and user groups

$
0
0

Replies: 0

Hi,
I am using w3 total cache 0.9.5.4 on WordPress 4.8.7
Using user groups I separated mobile cache and desktop which work fine.
but since I have install SSL (https), now the separation does not occur and whenever a client with mobile load page, mobile cache work but next time if a client with a desktop request the page, again it’s mobile cache which is being used for desktop.
the problem goes away when I delete htaccess file but when I save w3 total cache setting, it rewrites htaccess file and the problem emerge again.

how can I fix htaccess rules from w3 total cache settings?

Yui compressor and Google closure compiler (Java) dont work with W3 total cache

$
0
0

Replies: 1

Hello,

we have installed java and Yui compressor and Google closure compiler, but it does not work, we get errors.

First we tried with Open Java 1.8
Then we tested with Oracle Java 10.0.2

The tests with Google closure compiler:
Path:
JAVA path: /usr/bin/java
JAR path1: /usr/share/java/closure-compiler-v20180716.jar
JAR path2: /usr/share/java/closure-compiler-v20171203.jar
JAR path3: /usr/share/java/closure-compiler-v20161201.jar
Testing result: Empty JAVA executable path.
Dashboard message: JAVA executable path was not found. The default minifier JSMin will be used instead.

The tests with YUI compressor:
Path:
JAVA path: /usr/bin/java
JAR path1: /usr/share/java/yuicompressor-2.4.8.jar
JAR path2: /usr/share/java/yuicompressor.jar
Testing result:
Minify_YUICompressor : $jarFile(/usr/share/java/yuicompressor-2.4.8.jar) is not a valid file.
Minify_YUICompressor : $jarFile(/usr/share/java/yuicompressor.jar) is not a valid file.
Dashboard message: YUI Compressor (JS): JAVA executable path was not found. The default minifier JSMin will be used instead.

Can someone please help?

Regards, Andreas


w3 total cache best settings for shared hosting

$
0
0

Replies: 0

Any one has w3 total cache best settings for shared hosting to import on my site [ Redundant like redacted ] as my site speed is slow

  • This topic was modified 8 hours, 32 minutes ago by 1tksutk1.

How I redirect From http ->>> Https

$
0
0

Replies: 1

Hello,

Help me!

I failed to fix this problem. Http to https redirect.

Actually recently I updated my website with SSL certificate in that everything is done.
I have added redirect code in my .htaccess file.

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

But the only Homepage working perfectly.
It’s automatically redirecting
http://www.lyricsearth.com to
https://www.lyricsearth.com

But all others page/post did not get redirecting.

I am using your plugin, please give me a solution for all page redirecting.

I want to redirect my all post automatically.
Example:
http://www.mysite.com/post/ to
https://www.mysite.com/post/

Pleases short out my problem
Lyrics Earth

remove emojis and google fonts?

$
0
0

Replies: 0

Hello there is the option – remove emojis, – optimize and remove google fonts?

Or is this planned?

If not, can someone tell me how to solve it?

Thanks for your support!

User Roles?

$
0
0

Replies: 0

It is pretty bad practice to use Keys for a server. Any plan to support roles? Actually, if you just allowed empty keys this would work…

BUG wp-includes pathing is relative, should be absolute

$
0
0

Replies: 0

It seems that this plugin only works with typical setups. Advanced setups don’t work due to assumptions made in the code. The function: get_files_includes is an example. The plugin uses: ABSPATH . WPINC which is a bad assumption. I have wordpress installed in a separate directory and use a symlink to include it in the project. This check will break on projects that are not using WPINC in their webroot. Is this intentional to force paid support? Seems like a very serious flaw in logic.

Basically, I cannot upload any of the includes folder assets due to this bug.

Also, how can I not have all my items be PUBLIC???? I want it to be private by default. I have roles in use so I do not want direct access to the bucket… another bad design…

  • This topic was modified 42 minutes ago by SoN9ne.
  • This topic was modified 36 minutes ago by SoN9ne.

Featured Image Issue when installed W3TC

$
0
0

Replies: 0

Hello!

I installed W3TC and it worked very well, it saved alot of resources on server and fast response but I have a scheduled php script and using it to pull remote contents then the script got error after I installed W3TC: it could not set thumb for created post (set_post_thumbnail() function) meanwhile the image file was saved on disk.

Could someone please help me to resolve this issue? I need to use both my script and W3TC.

Thanks!

CDN not working

$
0
0

Replies: 0

Hi I Configured KEYCDN and it worked but after some changes it stopped working.
could anyone guide me on this.
Thanks


WP Statistics & W3 Total Cache

$
0
0

Replies: 0

Hello, is there already a solution how to operate both plugins without problems? Or do you have a suitable solution or alternative?

Currently you can not click away the cookie message with the privacy and data protection option and the visitors will not be displayed properly.

Thanks for the Support!

W3 Cache adds extra trailing slash on redirect (only in Disk enhanced)

$
0
0

Replies: 0

When doing a redirect (301) W3 cache adds extra trialing slash – BUT only on disk enhanced.

For example:
Disk enhanced
—————
https://www.exmaple.com/oldpage/ –> https://www.exmaple.com/newpage//

BUT
https://www.exmaple.com/oldpage –> https://www.exmaple.com/newpage/

The are no issues in Disk Basic
Disk Basic
———–
https://www.exmaple.com/oldpage –> https://www.exmaple.com/newpage/

https://www.exmaple.com/oldpage/ –> https://www.exmaple.com/newpage/

I have the following in .htaccess
————————————
RedirectPermanent /oldpage https://www.exmaple.com/newpage/

Any idea what to do as using Disk basic is not ideal.

Thanks

Form fields are scattered – the visual appearance is not correct

$
0
0

Replies: 0

I installed the W3 plugin in the default settings. I use the “PrivateContent – Multilevel Content” plug-in and the forms created are scattered (see log on https://sad-cr.cz or here https://sad-cr.cz/clenstvi) – the visual appearance is not correct

Clarification what the preload update interval means

$
0
0

Replies: 0

Hi!

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 cached pages is created?

Or is it the interval between batches of pages are peloaded until the cache is full (and only expires when posts are created / page cache is emptied manually)?

Thanks!

setting up origin push with AWS Cloudfront

$
0
0

Replies: 0

Can anyone point me to a good tutorial on setting up TotalCache with AWS CloudFront using origin push to an S3 bucket?

Basically my goal is to put my entire website behind CloudFront and minimize the load/traffic on my EC2 web server. If I understand what I’m reading correctly, I can basically route all visitors through CloudFront, allow only CloudFront to access my web server directly (creating a CNAME DNS record that points my domain name to my cloudfront distribution), and keep as much static content as possible in S3. This should provide better security, better performance, more resiliency during unexpected traffic spikes, and potentially lower AWS costs (I can scale down my EC2 server, possibly set up a load balancer). (see https://aws.amazon.com/blogs/startups/how-to-accelerate-your-wordpress-site-with-amazon-cloudfront/)

Since this is my first attempt at setting up this configuration, would love a good step-by-step on configuring W3 Total Cache for this situation.

Thank you.

  • This topic was modified 20 minutes ago by Megunticook. Reason: resolved
  • This topic was modified 13 minutes ago by Megunticook. Reason: resolved
  • This topic was modified 10 minutes ago by Megunticook.
  • This topic was modified 10 minutes ago by Megunticook.
Viewing all 19311 articles
Browse latest View live


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