arc:includec

Version 23.4.8839


arc:includec

Version 23.4.8839


The arc:includec keyword is used to include the cached ArcScript of the specified file, if one exists in the cache. Otherwise, the original file is parsed. Like traditional includes in other programming languages, arc:includec is replaced by the contents of the file specified in the file parameter.

Parameters

  • file: The name of the file to be included.

Control Attributes

None

Examples

Import the cached CSS for a website’s header:

<arc:cache file="www/cache/ui/css/css.css" dependency="~/ui/css/,~/ui/img/"/>
<arc:includec file="~/ui/css/_header.css"/>