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.
- file: The name of the file to be included.
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"/>