arc:includec
Version 24.2.9039
Version 24.2.9039
arc:includec
Use the arc:includec keyword 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
Example
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"/>