Anytime you are dealing with headers, the shortcode must be the very first thing to be executed in your script. The only place where you may use this shortcode is on line 1 of whatever file you are importing as your index template. This template import file is specified in the first directive in body.tpl for each node. In the case where you are importing a remote file then you may use the PokeBefore directive to set this shortcode into the incoming template on the fly.
Outputs a response header with the following entries:
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Expires: 0
Using TerraDctl Shortcode to disable browser caching.
[[NO_CACHE]]
Using PHP:
<?php
header("Cache-Control: no-cache, no-store, must-revalidate"); // HTTP 1.1.
header("Pragma: no-cache"); // HTTP 1.0.
header("Expires: 0"); // Proxies.
?>