$Web NoCache: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Automatically generated page update) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:$Web_NoCache}} | {{DISPLAYTITLE:$Web_NoCache}} | ||
<span class="pageSubtitle" | <span class="pageSubtitle">Set HTTP response headers so fresh page displayed</span> | ||
$Web_NoCache sets various HTTP response headers so that the browser will display the new version of the response page, regardless of any cached versions. | <var>$Web_NoCache</var> sets various HTTP response headers so that the browser will display the new version of the response page, regardless of any cached versions. | ||
$Web_NoCache does not take any arguments and it returns a numeric status code. It is a | <var>$Web_NoCache</var> does not take any arguments and it returns a numeric status code. It is a [[Calling Sirius Mods $functions|callable]] $function. | ||
==Syntax== | ==Syntax== | ||
<p class="syntax">< | <p class="syntax"><span class="term">%rc</span> = $Web_NoCache | ||
</p> | |||
===Syntax terms=== | ===Syntax terms=== | ||
Line 25: | Line 25: | ||
==Usage notes== | ==Usage notes== | ||
$Web_NoCache is useful if you know that the page contains new information that the web user should see. | <var>$Web_NoCache</var> is useful if you know that the page contains new information that the web user should see. | ||
==Examples== | ==Examples== |
Latest revision as of 18:18, 10 April 2013
Set HTTP response headers so fresh page displayed
$Web_NoCache sets various HTTP response headers so that the browser will display the new version of the response page, regardless of any cached versions.
$Web_NoCache does not take any arguments and it returns a numeric status code. It is a callable $function.
Syntax
%rc = $Web_NoCache
Syntax terms
%rc | A numeric status code:
|
---|
Usage notes
$Web_NoCache is useful if you know that the page contains new information that the web user should see.
Examples
* Ensure new version of page is seen: %X = $Web_NoCache