enable_cache
enable_cache($enable=true,$refresh=true); - allow or prohibit the browser from using the cache. It is recommended to allow it for a slow Internet connection, and prohibit it if the Internet is fast, so that information from the Internet is loaded faster than from the cache.
To check whether cache is allowed or forbidden in the browser, you can use this function is_enable_cache.
The input function accepts parameters:
$enable – allow (true) or deny (false)$refresh – should the page be updated (true) or not (false) after this command
After testing, the function returns the result of its work to the script :
true – completed successfully
false – failed