|
Whitebeam Template Reference Documentation
|
System Template
modified()
Allows Pattern Page to specify when the page being viewed was last modified.
See Also
<rb:cachecontrol...> Syntax
void = rb.page.modified(time)
Parameters
The 'modified' method takes 1 parameter:
Name | Type/Value | Range/Length | Description | time | bool | | Optional, default = file-time
Allows the Pattern Page to specify the value to be included in the
'Last-Modified' header sent to the client.
|
Results
The 'modified' method returns no useful information.
Remarks By default the Presentation Page sends a Last-Modified HTTP header to
client applications specifying the modification date/time of the page
being sent as 'now' - that is it is dynamic and just generated. This value
should be correct for all occassions. This method allows the page to specify a different time. The parameter
is either missing - in which case the Presentation Engine uses
the last modification time-stamp for the source page - or it is
taken to be a date object - in which case it is used to specify some
other modification date. |
|
(loadtime : 109ms) |