> For the complete documentation index, see [llms.txt](https://chamilo-docs.stoneageit.ch/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chamilo-docs.stoneageit.ch/entwicklerhandbuch/theming_through_templates/cleaning_the_cache.md).

# Säubern des Cache

Wenn Sie Vorlagen ändern möchten, müssen Sie eines wissen und sich daran erinnern: Nachdem Sie Ihre Änderungen geschrieben haben und bevor Sie sie testen, müssen Sie den Inhalt des `app/cache/twig/` -Verzeichnisses löschen.

Andernfalls bleibt der Cache in der Nähe und Sie werden keine (oder Sie werden nur einige sehen) Ihrer Änderungen sehen, was Sie glauben lassen könnte, dass sie nicht wirksam werden.

Diese Bereinigung wird auch ausgeführt, wenn Sie die "Archive/Cache cleanup" -Option auf dem Hauptadministrationsbildschirm Ihres Chamilo-Portals verwenden ("System" -Block).

Alternativ können Sie Chash (ein Befehlszeilentool für Chamilo) mit dem folgenden Befehl verwenden:

```
chash files:clean_temp_folder
```

Das heißt, wenn Sie Chash [6](https://github.com/chamilo/chash) installiert haben.


---

# 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:

```
GET https://chamilo-docs.stoneageit.ch/entwicklerhandbuch/theming_through_templates/cleaning_the_cache.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
