Function __global->gae_optimistic_cache
Definitions
sources/google_appengine.php
- Enable/Disable GAE optimistic cache, meaning it avoids need to check the Cloud Storage if a file is updated.We only set this to enabled if we are sure the persistent cache would receive a flush if the referenced file changed state.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $enabled | boolean | No | No | required parameter | N/A | N/A | Whether the cache is enabled |
Preview
Code (PHP)
/**
* Enable/Disable GAE optimistic cache, meaning it avoids need to check the Cloud Storage if a file is updated.We only set this to enabled if we are sure the persistent cache would receive a flush if the referenced file changed state.
*
* @param boolean $enabled Whether the cache is enabled
*/
function gae_optimistic_cache(bool $enabled)
* Enable/Disable GAE optimistic cache, meaning it avoids need to check the Cloud Storage if a file is updated.We only set this to enabled if we are sure the persistent cache would receive a flush if the referenced file changed state.
*
* @param boolean $enabled Whether the cache is enabled
*/
function gae_optimistic_cache(bool $enabled)

