### Enumeration

# AppStream CacheFlags

since: 1.0

#### Declaration

    flags AppStream.CacheFlags

#### Description [src]

Flags on how caching should be used.

Available since: 1.0

#### Members

`AS_CACHE_FLAG_NONE`

  No flags.

  - Value: `0`
  - Nickname: `none`
  - Available since: 1.0
`AS_CACHE_FLAG_USE_USER`

  Create an user-specific metadata cache.

  - Value: `1`
  - Nickname: `use-user`
  - Available since: 1.0
`AS_CACHE_FLAG_USE_SYSTEM`

  Use and - if possible - update the system metadata cache.

  - Value: `2`
  - Nickname: `use-system`
  - Available since: 1.0
`AS_CACHE_FLAG_NO_CLEAR`

  Don’t clear the cache when opening it.

  - Value: `4`
  - Nickname: `no-clear`
  - Available since: 1.0
`AS_CACHE_FLAG_REFRESH_SYSTEM`

  Refresh the system cache that is shared between applications.

  - Value: `8`
  - Nickname: `refresh-system`
  - Available since: 1.0