Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plugin-w3-total-cache]

Improve site performance and user experience via caching: browser, page, object, database, minify and content delivery network support.

1
vote
0answers
9 views

How to cache a different page version based on HTTP header?

My website has an HTTP response header generated by Cloudflare that contain the visitor country code, and i can use that header in PHP to generate a dynamic content based on the visitor country, now i'...
0
votes
2answers
23 views

W3 Cache redirects to front page when I press purge all caches

I migrated my site to a new server. Everything seems to be fine, but the browser is redirected to the frontpage when I save configurations in either the "W3 Total Cache" plugin or in "Duplicate post" ...
0
votes
1answer
474 views

Add a Script button in W3 Total Cache plugin not working due to conflicting jQuery version

While trying to fix the Render-Blocking issue on my website, I ran into a problem with the W3 Total Cache plugin on its Minify settings page. The two buttons to add JS (Add a script) and CSS (Add a ...
0
votes
1answer
590 views

How to exclude a widget from W3 Total Cache Plugin

I am using a currency widget to show live currencies for different countries. I also use W3 Total Cache plugin and the widget data is cached. For example yesterday's prices are shown for today and I ...
0
votes
1answer
779 views

How to disable cache for the content returned by a shortcode

we have wrote a shortcode that returns a different content based on a timestamp. The typical business case is: "Before the 1st of January, display "registrations will be open on the 1st of January" ...
24
votes
1answer
909 views

Is this Solution for Caches vs Cookies Going to Get Me in Trouble?

I've come up with a provisional solution for a not exactly common, but far from unprecedented problem with the interaction of popular WP caching solutions with cookies, in this case the standard WP ...
0
votes
1answer
138 views

Unable leverage Browser Caching on AWS Bitnami stack (Apache) through W3TC and Cloudfront CDN

I followed many tutorial about leveraging browser caching nevertheless I couldn't configure it succesfully, in fact GTmetric (PageSpeed and YSlow) notified me many static file that don't have a cache ...
-1
votes
1answer
48 views

How to prevent those PHP variables from being cached on WordPress?

I'm using this code in functions.php on WordPress to generate an affiliate link based on the visitor location, It's working perfectly but the problem is that if page caching is turned on (W3 Total ...
0
votes
0answers
14 views

Caching issue with logged out users

I have done a bunch of searches so I'll quickly answer some questions... No caching plugin activated Turned off varnish (liquidweb) Rebooted ngnix server Purged cloudflare and set development mode ...
0
votes
2answers
2k views

How to fix “failed to set referrer policy: The value ' ' is not one of…”?

So I am not sure where to start with this problem. Client is unable to see this page: https://www.godental365.com/patient-reviews/ It does not seem to load for them or a few people in my office. I ...
2
votes
2answers
2k views

Getting soft 404 errors (200 status) when caching plugins are enabled

I have a blog running the latest stable version of WordPress on a dedicated virtual server with the following situation. (Replace [caching plugin] with W3 Total Cache, Hyper Cache, or Quick Cache, as ...
0
votes
0answers
213 views

wp_is_mobile and caching problems

I have separate caches for mobile and desktop users and my implementation was working properly until my website began experiencing high traffic. Now, randomly my mobile users will see the desktop view ...
0
votes
0answers
27 views

What's the problem with caching database queries for logged in users?

While going throught the settings of W3 Total Cache's database section, I came across the following setting: [   ] Don't cache queries for logged in users Enabling this option is ...
1
vote
1answer
120 views

How can I render shortcode so that its not cached by Caching plugins?

I am developing a plugin and I don't want the output of my shortcode to be cached by popular WordPress caching plugins like W3Ttoalcahe, WPSuperCache, etc. Is there any way I can achieve that or ask ...
0
votes
1answer
759 views

W3 total - leverage browser caching not working with cdn delivered images [closed]

I'm using W3 total cache for a while now with all my Wordpress installations. Just started to use CDN and I got some problems with leverage browser caching of my files (mostly images) that are served ...
1
vote
1answer
158 views

Will cron job run if page loaded is being served from cache?

As a cron job does not run until a page load request comes, what will happen in case page-loaded is being served from cache by some caching plugin? Will WordPress still run a cron job that is ...
0
votes
0answers
23 views

Wordpress varnish pages printed twice

We have installed varnish on our server today to speed up our webshop. And it is very effective. We use W3 Total Cache configured with MaxCDN and Redis to manage the cache in WordPress. But some pages ...
0
votes
2answers
32 views

Make WordPress cache permanent for some pages until edited

Many WordPress websites contain pages or posts that are rarely updated. The server load can be reduced for these pages through page cache plugins such as WP Cache or W3 Total Cache. However such ...
0
votes
0answers
77 views

Serving cache from multiple domain names

I'm using W3 total cache for caching and I've many js files with sizes larger than 100KB in the cache folder. My idea is to serve cache folder from different subdomains (All files are hosted in the ...
0
votes
0answers
83 views

Pre-Caching and Googlebot

There are some wp-plugins which do pre-caching. If Googlebot is coming to crawl a website, what site version is served to it: a dynamic one or the one from server cache, generated through pre-caching?
0
votes
1answer
1k views

How to set up the REST API to refer to media on a CDN

I'm using the Wordpress as a headless server to supply the content for a react based web app, and I'm trying to get the media served via a CDN. I have set up the W3-Total-Cache plugin which is ...
0
votes
3answers
904 views

Trouble with Wordpress local development and deployments

The Setup: I'm setting up a Wordpress-powered application using Elastic Beanstalk from Amazon Web Services. All development is being done locally under a MAMP apache2/php5 server environment with a ...
0
votes
0answers
209 views

Wordpress Dashboard shows no plugins installed!

One of the websites that I'm working with, have some issues with designs and nothing really works they it used to. When I looked at the Plugins list, it shows there is no plugins installed. but from ...
0
votes
1answer
7k views

expires header in w3 total cache

Hello i read about expires header and as i understand it's very important but it's dangers because visors will not see the changes that happen on my site, so my question can enable expires header and ...
0
votes
1answer
28 views

Wordpress Userroles button getting cached

I am having different buttons for different users in my site, i have used the below code to create those. <?php global $user_login, $current_user; get_currentuserinfo(); $user_info = ...
0
votes
3answers
2k views

Wordpress And High disk i/o

So i run a Wordpress BLOG with the following setup: 1.Two dedicated servers - one for application and one for database Application server specs: 32cores 126gb ram 4tb hdd running centos 7 Database ...
0
votes
2answers
793 views

Remove “?repeat=w3tc” from any url

Some how W3 Total Cache produce on some pages this prefix "?repeat=w3tc". And I really want to remove this from my urls, but my research didn't help me. Edit: I'm using other plugins now - The ...
1
vote
0answers
158 views

Wordpress Leverage browser caching Show how to fix & Eliminate render-blocking JavaScript and CSS in above-the-fold content Show how to fix

Good afternoon , as the title says I have the following problems that I tried and cannot find a solution for , I already tried the different solutions people posted here in different topics . So ...
3
votes
1answer
6k views

Clear cache when a post is submitted [closed]

I have a question. How can I clear the cache when a post is submitted ? Actually, I need to clear two speficied pages which display these articles ? By default, I have noticed the index.php is ...
3
votes
2answers
17k views

W3 Total Cache active but not working [closed]

Update: Found the reason for the issue. The theme had this add_action('init','ezgz_buffer'); function ezgz_buffer() { ob_start('ob_gzhandler'); } The above code enables gzip-compression if the ...
1
vote
1answer
120 views

Will setcookie work if there is a cache plugin installed?

A cache plugin in WP will cache PHP output, but does it include HTTP header? For example, add a piece of code as following: add_action('wp', 'my_cookie' ); function my_cookie() { setcookie('...
0
votes
1answer
1k views

How can I cache font files on Wordpress [closed]

The caching portion of all of the speed tests fail on my site because I am using font files to pull in my fonts. I am using w3 Total Cache, and KeyCDN. The font files are hosted in a folder inside ...
1
vote
1answer
806 views

Adding a SSL Certificate

This is the first time I am moving any website to SSL. I am working on a pretty heavy website. It is using CloudFlare and W3TC to maintain the page load speed. Now I came to know having an SSL ...
1
vote
2answers
1k views

With W3 Total Cache when I publish a post it does not appear in the homepage. Only if i purge all cache [closed]

If you go to the ps4 page you will see that the last post is there My Site Is it necessary to do something for the post to appear on the homepage or should it appear by default?
1
vote
0answers
196 views

Losing preview ability: W3 Total Cache + Post name permalinks

I've been seeing issues on sites when I enable W3 Total Cache (Using an aws cdn) where the ability to preview pages would be lost. I was just able to confirm this when enabling it on a new site. A ...
0
votes
1answer
68 views

custom php file inside my custom folder of plugins directory is not caching

I am using W3-Total-Cache plugin, here is my plugin configurations : I am trying to implement caching on my custom php file. I have created a folder (api) inside plugins directory. i.e /wp-content/...
0
votes
0answers
14 views

Primary Menu doesn't show because of w3 cache

When I active w3 total cache, my site's primary menu doesn't load. Sometimes when my site takes some time to load only then menu appears.
0
votes
1answer
73 views

w3 total cache uninstall remove cache

I'm experiencing a hug problem on a wordpress website. I have to migrate this website to new hosting provider; actually old developer used to install 'n setup w3 total cache plugin that I'd like to ...
-1
votes
1answer
2k views

Too many index.php files running and eating up all memory

I have wordpress site installed on dedicated server. From few days I'm experiencing high memory consumption on this cpanel account and it is slowing my wordpress site Then I examined Process Manager ...
1
vote
0answers
82 views

Is it wise to add plugins to the Object Cache?

My WP site relies heavily on plugins that our readers can interact with, for example a Buzzfeed-like quiz plugin that puts heavy loads on my server. I use W3 Total Cache to minimise that server load. ...
0
votes
1answer
690 views

HIgh CPU usage - Will using cache plugins help

i am having issues with CPU high utilization, more than 92% . Is there anyway to track which plugin or process or user is causing this issue? Will usage of any cache plugin will help this or not ?
0
votes
1answer
2k views

White blank page when Updating/Draft/Publishing Page/Post

On my VPS (centos 6.7 64x, 2 cpu's and 3gb ram) I have setup a WP MU(Memory usage: 53.97 MByte)and many times I have a blank page when I make a post draft or publish/updating it, or when I want to ...
0
votes
2answers
2k views

Enabling Cache on WP Membership Sites. Good OR Bad?

I develop wordpress membership sites and I never enable any caching plugin on those sites. I presume, if I enable caching then members might have some issues due to cache or there might be an issue ...
0
votes
1answer
68 views

Object Caching Plugin force every plugin to cache objects?

Can caching plugins (like w3 Total Cache or similar) force themes and plugins to use cache for every object instantiated? Or are they just optimizing plain WordPress.
1
vote
1answer
36 views

I am getting useless alphabets in images link

I dont know why i am getting extra alphabets and question mark in my image links. Please take a look Can any one tell me how I can fix this issue.
1
vote
0answers
1k views

W3 Total Cache: use cache for request with ignorable query string [closed]

Currently W3 Total Cache use cached page only if query string is empty, the rule is: RewriteCond %{QUERY_STRING} ="" in this code (from .htaccess): # BEGIN W3TC Page Cache core <IfModule ...
1
vote
0answers
262 views

Running code before object-cache.php runs

I want to polyfill some functions before object-cache.php runs. I have PHP7 and APCu installed. However, W3 Total Cache is using apc_* functions, not apcu_* functions. W3 Total Cache's object cache ...
0
votes
2answers
8k views

hide wp-content from urls

Here is what I am thinking of trying to hide wp-content from the urls of files included in page source. defining the following in wp-settings.php define ('WP_CONTENT_URL','http://example.com/...
0
votes
2answers
1k views

Exclude Random Redirect from caching?

I have just deployed the W3 Total Cache plugin on my dedicated server (moillusions.com), but am not sure if it works already (server load still high). I have a very important random link generator: ...
4
votes
1answer
2k views

AJAX vs Fragment Caching for W3 Total Cache [closed]

I'm running a WP site with WooCommerce and I want to do some caching. I'm going to exclude the pages such as the cart/checkout for obvious reasons however there are a couple of the things on the site ...