Function __global->write_static_cache_file

Definitions

sources/site.php

  • Write out a static cache file.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$fast_cache_path PATH No No required parameter N/A N/A Cache file path
$out_evaluated string No No required parameter N/A N/A Cache contents
$support_output_compression boolean No No required parameter N/A N/A Whether to allow output compression

Preview

Code (PHP)

/**
 * Write out a static cache file.
 *
 * @param  PATH $fast_cache_path Cache file path
 * @param  string $out_evaluated Cache contents
 * @param  boolean $support_output_compression Whether to allow output compression
 */

function write_static_cache_file(string $fast_cache_path, string $out_evaluated, bool $support_output_compression)