The File Cache service enables you to manage caching of files. It implements the global shared cache space, which webOS applications (such as Email) can use to temporary store cache files or send files to other webOS applications.
Overview of the API(click to expand)
On the system level, the File Cache service is a daemon that starts after the webOS boots. It is responsible for caching filesystem requests, enabling to improve the performance of I/O operations and to save space on the the flash storage device.
You can configure the File Cache service behavior by calling its methods or by editing the options in the FileCache.conf file. In particular, you can:
- specify the global shared cache space
- configure space and object parameters
- specify automatic expiration options or select to control expiration manually.
The default setting of the FileCache.conf file is:
- totalCacheSpace 104857600 (100 MiB)