2

I have an app which is using parse, and it is downloading a caching a lot of files.

The app size on disk is getting rather large.

Is there any safe way currently to clear items from the cache?

According to https://www.parse.com/questions/pffilecache-refresh-and-pffile-versioning it's not possible, but that's a year old and I'm hoping something has changed here.

Thanks!

Liron
  • 2,012
  • 19
  • 39

1 Answers1

1

According to the documentation, it is now possible to delete the cache.

To delete cache of a specific query use:

query.clearCachedResult()

To delete complete cache use:

PFQuery.clearAllCachedResults()
arne.z
  • 3,242
  • 3
  • 24
  • 46