- bc_view_enable_cache is det
- Enables view caching.
- bc_view_disable_cache is det
- Disables view caching. Purges all cache entries.
- bc_view_purge_cache is det
- Purges all cache entries.
- bc_view_not_found is det
- Sends non-cached 404 response.
Uses exceptions mechanism to produce the response.
- bc_view_see_other(+Url) is det
- Sends redirect 303 (see other) for
the current request.
- bc_view_send(+Name, +Data) is det
- Same as bc_view_send/3 with the default
content type. The default content type is
Content-type: text/html; charset=UTF-8
.
- bc_view_send(+Name, +Data, +ContentType) is det
- Renders and sends a simple-template view.
Stores rendering result in cache when caching
is enabled.
Undocumented predicates
The following predicates are exported, but not or incorrectly documented.
- bc_view_cached(Arg1)