Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
113 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 ...
Sahasrar's user avatar
1 vote
1 answer
1k 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 ...
Islam Mohamed's user avatar
1 vote
2 answers
2k 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 ...
Sam's user avatar
  • 11
1 vote
0 answers
570 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 ...
Leo Jiang's user avatar
  • 153
0 votes
3 answers
4k 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 ...
Xavier Fox's user avatar
0 votes
1 answer
191 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)*?...
bpy's user avatar
  • 299
0 votes
1 answer
151 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 ...
Beans's user avatar
  • 111
0 votes
1 answer
1k views

W3 Total Cache Can't Really Detect Things

I'm running Apache + Cpanel with PHP installed as an apache module. I've been trying to setup W3 Total Cache to see the php and apache extensions, and I've been having trouble. It detects curl and ...
cii's user avatar
  • 1
0 votes
0 answers
162 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 ...
Erik Westlund's user avatar
1 vote
1 answer
3k views

Wordpress with php 5.5 and zend opcache

I currently updated/upgraded my php to 5.5.11 and want to use the opcache that comes with it. I enabled the cache and added a few settings to php.ini zend_extension=/usr/lib/php5/20131313/opcache.so ...
CK13's user avatar
  • 45
1 vote
2 answers
4k views

PHP 5.5, w3 Total Cache, and opcache [closed]

PHP5.5 has ZendOptimizer opcache built in and it seems to work pretty well and the benchmarks seem to give it a slight edge over APC in performance. Great. So APC seems to be on its way out. My ...
Erik Westlund's user avatar
0 votes
2 answers
1k views

customize wordpress database error page

UPDATE Initially I suspected this was related to the Wordpress framework I'm using (Genesis) or to my child theme functionality, but turns out that's not the case as I was able to get this to work in ...
IntricatePixels's user avatar
1 vote
2 answers
1k views

PHP Code stuck in Cache [Memcached] [closed]

Been having a bit of a problem with my site regarding our caching method and my php code not refreshing or flushing. To start, my site is on a dedicated Nginx webserver. I used W3 Total Cache for ...
Sam K's user avatar
  • 388
1 vote
1 answer
6k views

Run W3 Total Cache Flush Function with Crontab [closed]

Ok. I'm really stumped on this one. Basically, I need to call a function for the Wordpress plugin W3 Total Cache as part of a cron job in crontab. I'd like to automatically clear the entire page ...
dfcode3's user avatar
  • 711