> 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/it/base-di-conoscenza/028-clearing-the-cache.md).

# Svuotare la cache

Quando compili il tuo progetto, LaTeX genera numerosi file ausiliari che vengono archiviati per utente in una 'cache' invece che con il progetto. Questi file generati in genere includono **`.aux`**, **`.log`** e **`.toc`** file, che vengono usati per i riferimenti incrociati, per generare bibliografie e per creare indici. I file generati (ausiliari) di LaTeX non sono elencati, cioè visibili, all'interno del tuo progetto, ma rimangono "dietro le quinte" nella cache, per essere rigenerati se necessario la prossima volta che ricompili il documento.

Se scopri che uno dei tuoi collaboratori riesce a compilare il tuo progetto senza errori, ma tu riscontri errori quando compili sul tuo computer, ricompilare da zero (noto anche come svuotare la cache) può aiutare. Inoltre, potresti voler ricompilare da zero se incontri messaggi di errore relativi ai file generati, o se semplicemente vuoi eliminare i file generati per qualche altro motivo.

## Ricompila da zero

Il **Ricompila da zero** L'azione di menu elimina i file generati e ricompila immediatamente il tuo progetto. Questo pulsante si trova aprendo il menu Ricompila e facendo clic su Ricompila da zero.

![Schermata del menu Ricompila](/files/cfa89da3797d561eca6d849b0dc88185c5f90080)

## Cancella i file nella cache

Il **Cancella i file nella cache** Il pulsante elimina i file generati, ma non ricompila immediatamente il tuo progetto. Questo pulsante si trova prima facendo clic sul **Log e output** pulsante file, e quindi facendo clic sul pulsante rosso Cancella i file nella cache in basso.

![Schermata del pulsante Cancella i file nella cache](/files/d3d6f6758b46947d4d088b3a07cdec7918e7da5a)


---

# 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/it/base-di-conoscenza/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.
