wp_cache_postload()WPSCache 1.0

No Hooks.

Return

null. Nothing (null).

Usage

wp_cache_postload();

wp_cache_postload() code WPSCache 1.11.0

function wp_cache_postload() {
	global $cache_enabled, $wp_super_cache_late_init;
	global $wp_cache_request_uri;

	// have to sanitize here because formatting.php is loaded after wp_cache_request_uri is set
	$wp_cache_request_uri = esc_url_raw( wp_unslash( $wp_cache_request_uri ) );

	if ( ! $cache_enabled ) {
		return true;
	}

	if ( wpsc_is_backend() ) {
		wp_cache_debug( 'wp_cache_postload: backend detected, not running' );
		return true;
	}

	if ( isset( $wp_super_cache_late_init ) && true == $wp_super_cache_late_init ) {
		wp_cache_debug( 'Supercache Late Init: add wp_cache_serve_cache_file to init', 3 );
		add_action( 'init', 'wp_cache_late_loader', 9999 );
	} else {
		wp_super_cache_init();
		wp_cache_phase2();
	}
}