What exactly is an advanced object cache?

An advanced object cache is a cache mechanism that can store data that persists beyond a single request. A couple of popular object caches for WordPress are APC and Memcached. The WP_Object_Cache class Codex page has a list of links with more info on advanced cache options.

How to clear the cache?

Have you looked at WP_Object_Cache? If you suspect there is unwanted caching happening in the code that generates the admin panel then you might be able to use functions from the WP_Object_Cache to clear it. WP_Object_Cache is WordPress’ class for caching data which may be computationally expensive to regenerate, such as the result of complex … Read more

Proper hook for W3TC defines, or dynamically disable w3 total cache [closed]

U could try using this type function: add_action( ‘wp_print_scripts’, ‘my_deregister_javascript’, 100 ); if ( !is_page(‘Events’) ) { wp_deregister_script( ‘wpng-calendar’ ); wp_deregister_script( ‘date-js’ ); wp_deregister_script( ‘thickbox-js’ ); wp_deregister_script( ‘jquery-js’ ); wp_deregister_script( ‘wiky-js’ ); } } Found it on this website U’ll have to modify the nandlers to your needs, i found the W3TC handlers to be: … Read more

Nonces and Cache

I know this question is ancient, but no, it’s not very secure. Anyone with knowledge of the AJAX endpoint would be able to generate valid nonces, which defeats the purpose in the first place. That being said, nonces are a low level defence in the first place: they only stop the simplest of attacks. A … Read more

Multiple WordPress sites eat up alot of RAM

It’s hard to answer this given that each site is most likely different and each server is also configured differently. If these sites are individual WordPress installs then 1GB /30 sites is normal, an absolute bare minimum per site would be 32MB for apc.shm_size, this equals 960MB with no overhead. 32MB is in my opinion … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)