> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/ja/narejjibsu/028-clearing-the-cache.md).

# キャッシュを消去する

プロジェクトをコンパイルすると、LaTeX は多数の補助ファイルを生成します。これらはプロジェクト内ではなく、ユーザーごとに「キャッシュ」に保存されます。これらの生成ファイルには通常、次のものが含まれます **`.aux`**, **`.log`** と **`.toc`** これらのファイルは、相互参照、参考文献リストの生成、目次の作成に使用されます。LaTeX の生成（補助）ファイルは、プロジェクト内には一覧表示されず、つまり表示されませんが、キャッシュ内で「裏方」として保持され、次に文書を再コンパイルする際に必要に応じて再生成されます。

共同編集者の一人はエラーなくプロジェクトをコンパイルできるのに、自分のコンピューターでコンパイルするとエラーが出る場合、最初から再コンパイルすること（キャッシュのクリアとも呼ばれます）が役立つことがあります。さらに、生成されたファイルに関連するエラーメッセージが表示される場合や、単に別の理由で生成ファイルを削除したい場合にも、最初から再コンパイルするとよいでしょう。

## 最初から再コンパイル

その **最初から再コンパイル** メニュー操作は生成ファイルを削除し、すぐにプロジェクトを再コンパイルします。このボタンは、「再コンパイル」メニューを開いて「最初から再コンパイル」をクリックすると見つかります。

![「再コンパイル」メニューのスクリーンショット](/files/488e7213578f710f2cd12f6489be60068e0cc422)

## キャッシュされたファイルをクリア

その **キャッシュされたファイルをクリア** ボタンは生成ファイルを削除しますが、プロジェクトをすぐには再コンパイルしません。このボタンは、まず **ログと出力** ファイル」ボタンをクリックし、その後、下部にある赤い「キャッシュされたファイルをクリア」ボタンをクリックすると見つかります。

![「キャッシュされたファイルをクリア」ボタンのスクリーンショット](/files/7af2d1912c22bc13d2f9931a89ecb3edba63abfe)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/ja/narejjibsu/028-clearing-the-cache.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
