> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arc.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# arc:includec

> キャッシュされたバージョンが存在する場合は指定したファイルのキャッシュされたArcScript をインクルードし、存在しない場合は元のファイルのパースにフォールバックします。

export const siteNameShort = "Arc";

`arc:includec` キーワードを使用して、指定したファイルのキャッシュ{siteNameShort}Script がキャッシュに存在する場合、それをインクルードします。キャッシュに存在しない場合には、元のファイルがパースされます。他のプログラミング言語における従来のincludes と同様に、`arc:includec` は**file** パラメータで指定されたファイルの内容に置き換えられます。

## パラメータ

* **file**：含めるファイルの名前。

## アトリビュートの制御

None

## 例

Web サイトのヘッダー用に、キャッシュされたCSS をインポートします：

```xml theme={null}
<arc:cache file="www/cache/ui/css/css.css" dependency="~/ui/css/,~/ui/img/"/>
<arc:includec file="~/ui/css/_header.css"/> 
```
