Skip to contents

Clear the metadata cache

Usage

kobo_cache_clear(uid = NULL, type = c("all", "forms", "langs"))

Arguments

uid

Optional asset uid. If provided, clears the forms and languages of that asset only, on every server.

type

Character, which cache to clear: "all" (default), "forms", or "langs". "all" also clears the recorded server page limits.

Value

Invisibly returns TRUE

Examples

if (FALSE) { # \dontrun{
kobo_cache_clear()
kobo_cache_clear("aXf4gH7kL9mN2pQrStUvWx")
kobo_cache_clear(type = "langs")
} # }