Parameters2
Coding name |
http
|
Description |
Set the HTTP response headers so that no cache will store the response in order to respond to future identical requests.
|
Position |
1
|
Type |
Boolean(Primitive type)
|
Default value |
true
|
Comments |
At the time of writing these headers will be sent with the repsonse:
[%Cache-Control: no-store, no-cache, must-revalidate, max-age=0
Pragma: no-cache
Expires: 0%]
Most likely it will never change. Just in case you can use [nocacheinaction, this page] to double check.
|
See also |
nocacheinaction
|
Coding name |
topincs
|
Description |
Topincs stores responses between writes internally.
|
Position |
2
|
Type |
Boolean(Primitive type)
|
Default value |
false – the Topincs response cache is used, unless true is given here instead.
|
Examples2
[%// Avoid HTTP caches, but still use the Topincs cache:
no_cache(http: true, topincs: false);
// Same effect, but shorter:
no_cache(); %]
[%// Use no cache at all, every response is fresh:
no_cache(http: true, topincs: true);%]
|