---
title: "TypoScript"
manual: "Static File Cache"
version: "16.1"
source: "Configuration/TypoScript.rst"
rendered: "2026-10-12T19:00:42+00:00"
---

# TypoScript {#typoscript}

You can disable the StaticFileCache by adding one line of TS:

```typoscript
config.tx_staticfilecache.disableCache = 1
```

This is also useful, if you want to disable StaticFileCache for specific page
types or other conditions, for example:

```typoscript
[getTSFE().type == <type>]
config.tx_staticfilecache.disableCache = 1
[global]
```
