WP_Cache has some problems
-
$result = wp_cache_get( 'my_cache' ); if ( false == $result ) { $result = 'cache doesnt work'; wp_cache_set( 'my_cache', $result ); echo 'cache: false <br>'; } else $result = 'cache works perfectly'; echo $result;
I have tested this code with the only 1 result ‘cache doesnt work’.
Pls help me to figure out this problem.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘WP_Cache has some problems’ is closed to new replies.