Questions tagged [plugin-w3-total-cache]

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

Filter by
Sorted by
Tagged with
2
votes
2answers
37 views

What is difference between 'Page Cache' and 'Object Cache' in WordPress?

I am optimizing my WordPress website. I am using 2 WordPress plugins right now. First one is 'Autoptimize' for optimizing CSS, JS, and HTML. And another one is 'WP Super Cache' for caching pages. ...
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
48 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
199 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
53 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
2answers
3k 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 ...
1
vote
1answer
153 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 ...
1
vote
1answer
178 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
26 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
1answer
522 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
2answers
33 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
100 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
94 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
886 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" ...
0
votes
0answers
213 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
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
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 = ...
1
vote
0answers
162 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 ...
1
vote
1answer
146 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('...
1
vote
1answer
830 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
206 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
78 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
1answer
8k 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
0answers
15 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
635 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
75 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 ...
23
votes
1answer
939 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
2answers
865 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
88 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
72 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
277 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 ...
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 ...
-2
votes
3answers
112 views

To what degree can use of caching-plugins and a CDN boost WordPress performance? [closed]

I realize that this question is being asked in a very generic fashion, without detailed specifics of the configuration in question, and thus I am not expecting answers that go beyond anything but ...
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 ...
0
votes
2answers
95 views

Website pagespeed problem

I have a WordPress website. I've tested it for speed test with google tools, but I see some of errors like this: Leverage browser caching Setting an expiry date or a maximum age in the HTTP headers ...
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
1answer
774 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 ...
0
votes
2answers
781 views

ubuntu + nginx - everything works except “rewrite url structure” [closed]

I'm on ubuntu vps running nginx Running w3 total cache on wordpress. Everything works fine except for when i enable "rewrite url structure", and it breaks, 404 probably to the minified files. How ...
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
1answer
144 views

RegExp to EXCLUDE strip HTML (FOR SOMME) comments

I'm using this function to remove HTML comments from my code to save loading time: // Remove unwanted HTML comments function remove_html_comments($content = '') { return preg_replace('/<!--(.|\s)*?...
3
votes
0answers
106 views

Combine JS and CSS for WordPress admin

I am using W3 total cache which allows me to combine JS and CSS in the forward facing site, but is there any way I can do the same for the admin/backend/dashboard area. I can't think of a technical ...
0
votes
2answers
130 views

How to identify which javascript is being executed

I am trying to figure out which script is being called and executed within my Wordpress website. I have website with a number of scripts that are included by the core, the theme and the numerous ...
0
votes
1answer
2k views

Cache plugins and ajax nonce verification

I created a plugin which use some ajax requests to load more posts on click. I noticed that when I use a cache plugin like W3 Total cache plugin then the wp_verify_nonce($nonce, $action) fail ...
0
votes
1answer
27 views

Plugin files not updated (cache cleared)

I'm manually uploading a plugin that I created, but no changes take effect and the file editor shows no changes unless I change the filenames within the plugin. I've already tried doing this while ...
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
136 views

WordPress 4.2.3 on Windows Server 2008 R2 Creating Files as read only

Whenever I attempt to update a plugin or change my configuration for W3 Total Cache, if wordpress creates a new file, it's created with the Read Only attribute. I can upload and delete content without ...
1
vote
1answer
2k views

robots.txt Not Updating

Today I received an email from Webmaster Tools stating that "Googlebot cannot access CSS and JS files". So I set about updating my robots.txt file located in the root of my server. Original Contents: ...
1
vote
0answers
3k views

Google PageSpeed Enable Compression isn't working?

I am trying to improve pagespeed of my website. When I test my site it tells "Compressing https://z-1-static.xx.fbcdn.net/rsrc.php/v2/yF/r/SQ7jeOqw5xW.js could save 188.3KiB (70% reduction)." I have ...