Questions tagged [plugin-w3-total-cache]

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

44 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
133 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 ...
2
votes
0answers
382 views

How can I use fragment caching to exclude certain plugins from being cached?

I'm using the popular W3TC to optimize load times. The website that I run is dynamic and has login widgets as well as status indicators for game servers. The widgets are not hard-coded into the ...
2
votes
1answer
939 views

Share media among different domains

I have multiple Wordpress instances that live on separate domains (not a multisite installation). Since they provide the same content in different languages I'd like to share the images among these ...
1
vote
0answers
27 views

W3 Total Cache JS and css Minify folder are empty

When i enable Multisite using subdirectories function and minify file status “404” so my multisite subdirectory not working properly, because minify folder are empty /var/www/html/wp-content/cache/...
1
vote
0answers
11 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'...
1
vote
1answer
328 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
0answers
188 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
0answers
221 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 ...
1
vote
0answers
103 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. ...
1
vote
0answers
338 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
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 ...
0
votes
0answers
5 views

After installing w3 Total Cache front end changes not affecting

I installed w3 total cache and when ever I tried to change anything on the styleshee nothing changes after a pretty long time the changes got effected i deleted the plugin uninstalled it but still it'...
0
votes
0answers
29 views

Google Page Speed

My website is in Wordpress so I am asking question regarding Google Page Speed here. My issue is i had completed the development of home page of existing page now when i am trying to check the score ...
0
votes
0answers
9 views

woocommerce checkout page fails on missing field, which doesn't exist

the site is www.drywild.co.il Once costumer is trying to pay with credit card. We start using the w3 cache plugin 3 days a go, so I guess it related, so I disabled it but issue still exist (maybe ...
0
votes
1answer
16 views

Language does not switch while cache is enabled

At my website I have a button when pressed PHP script through ajax write session variable to change language and reload page. But when I enable caching every time is loading default language. When ...
0
votes
0answers
12 views

How to use cache for different language pages and handle multiple languages?

I have webpage with language change button. When I press the button I write into php Session variable parameter 'en' for english language. Then I reload whole page, but language is still same nothing ...
0
votes
0answers
28 views

My wp database has been hacked

My database has hacked by someone and removed it. But my site still working because of W3 Total Cache. Is there any way to get old database by using W3 Total Cache?
0
votes
0answers
106 views

W3 Total Cache Error: some files appear to be missing or out of place. Please re-install plugin or remove

I used to have the "This site is experiencing technical difficulties." error message and went to CPanel to change the wp-config file and change the WP_Debug false to true but it's showing more error. ...
0
votes
1answer
32 views

Clear cache when comment is added

I am using wordpress total cache, and i need to clear cache every time a comment is added or modified <?php $w3_plugin_totalcache->flush_all(); ?> i found this method but , i don't know ...
0
votes
0answers
40 views

Browser detection booleans mess. Caché plugin?

Hello, I have an issue concerning the Browser Detection Booleans. Sometimes, being in Chrome or Firefox, the page is served as being in IE, as in the attached image. Can this be related to the fact ...
0
votes
1answer
445 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 ...
0
votes
0answers
28 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
663 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
0answers
197 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
110 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 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
249 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
34 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
1answer
103 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
10k 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
2answers
779 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
79 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 ...
0
votes
1answer
171 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)*?...
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
0answers
30 views

Page wrongly displayed when cache plugin activated

I tried both WP Rocket and WP Total cache, and when activating page caching, my pages look like this: http://www.goldnord.fr/ So all the pictures, animations, structure is gone. Is there a way to ...
0
votes
0answers
857 views

How to use nonces for frontend AJAX voting if the page gets cached?

I'm building a custom voting solution for my site that would allow public AJAX voting on multiple posts per page. Votes can be added/changed/revoked. Values are stored in custom post meta. I ...
0
votes
0answers
66 views

Ads below footer

A client of mine has ads on his website, which are managed by a CPT. The ads can be pulled in via a widget, hardcoded query and a shortcode. I have an issue that isn't consistent that I'm trying to ...
0
votes
1answer
191 views

Manually cache a special, non-WP-but-using-WP page (e.g. Ajax results) with W3TC

Under the active theme folder, I have a search-autocomplete.php file which uses various WP queries to create smart JSON results delivered via AJAX to a jQuery UI Autocomplete input field. It's not a ...
0
votes
1answer
230 views

using .htaccess only for wordpress security no plugins

Right now I am using bulletproof wordpress security for my websites, but when i am installing W3 Total Cache plugin it gives me some errors related to .htaccess file and bulletproof wordpress security ...
0
votes
0answers
1k views

Get post id of permalink for a specific custom post type?

I have custom post type called Personnel. I have this code to show a specific post ("details" page for personnel) (resides in children themes folder of Oxygen and is called single-personnel.php) <...
0
votes
0answers
152 views

Splash pages on a high traffic site

Could use some advice here. We have a fairly high traffic site web site using WordPress. Currently we have two VPS servers managing the site, one that holds WP, one that holds MySQL. The WP servers ...
0
votes
1answer
346 views

Pagination in WP query with transient API

I have integrated WordPress transient system with w3 total cache. Now I can`t to do pagination for this query. <?php $paged1 = (get_query_var('paged1')) ? get_query_var('...
-1
votes
1answer
3k 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 ...