---
title: cacheName
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nsfetchedresultscontroller/cachename
---

# cacheName

The name of the file used to cache section information.

## Declaration

```swift
var cacheName: String? { get }
```

## Discussion

Discussion The file itself is stored in a private directory; you can only access it by name using deleteCache(withName:)

## See Also

### Related Documentation

- [init(fetchRequest:managedObjectContext:sectionNameKeyPath:cacheName:)](coredata/nsfetchedresultscontroller/init(fetchrequest:managedobjectcontext:sectionnamekeypath:cachename:).md)

### Getting Configuration Information

- [fetchRequest](coredata/nsfetchedresultscontroller/fetchrequest.md)
- [managedObjectContext](coredata/nsfetchedresultscontroller/managedobjectcontext.md)
- [sectionNameKeyPath](coredata/nsfetchedresultscontroller/sectionnamekeypath.md)
- [delegate](coredata/nsfetchedresultscontroller/delegate.md)
- [deleteCache(withName:)](coredata/nsfetchedresultscontroller/deletecache(withname:).md)
