---
title: "Performance"
description: "Optimize performance with customizable caching options for repository paths, from instant to one-year duration. (Gitana 4.0)"
product: "Gitana"
version: "4.0"
url: "/documentation/gitana/4.0/developers/app-server/services/perf"
---

# Performance

```
{
    "perf": {
        "enabled": true,
        "paths": [{
            "regex": "/proxy/repositories/.*",
            "cache": {
                "seconds": 60
            }
        }]        
    }
}
```

The `cache.seconds` value is `60` in this example. Set it to `0` for no cache, or to `-1` for 1 year.
