Skip to content

Commit

Permalink
Be explicit about Cache directory purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
maciek134 authored and doniks committed Nov 19, 2022
1 parent 1e2b45e commit ece0a43
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions appdev/guides/writeable-dirs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ Path: ``/home/phablet/.cache/<fullappname>/``

This is the place to cache data for later use. The cache is also used by the Content Hub. Files that have been shared with the music app for example can be found in ``/home/phablet/.cache/com.ubuntu.music/HubIncoming/``.

.. note::
Data in the cache directory should be treated as temporary and the app should still function normally if this directory is cleared - clearing cache is commonly done to recover some space on the device. Don't store user account info here :)

App data
^^^^^^^^
Path: ``/home/phablet/.local/share/<fullappname>/``
Expand Down

0 comments on commit ece0a43

Please sign in to comment.