NAME
Dancer2::Plugin::ContentCache::Driver::DBIC - DBIx::Class storage driver for Dancer2::Plugin::ContentCache
VERSION
version 1.0000
SYNOPSIS
# In config.yml:
plugins:
ContentCache:
driver: DBIx::Class # the default; you don't need to say so
schema: default
cache_result_set: ContentCache
DESCRIPTION
This is the default storage driver for Dancer2::Plugin::ContentCache. It consumes Dancer2::Plugin::ContentCache::Driver and stores cache entries using Dancer2::Plugin::DBIx::Class (or any other plugin that provides a compatible schema keyword).
It expects the configured result set to provide at least a single-column primary key, plus data and metadata columns. If created_dt and/or expiry_dt columns are also present, they will be populated automatically; see "SUGGESTED SCHEMA" in Dancer2::Plugin::ContentCache.
This driver does not require the result class to use DBIx::Class::InflateColumn::DateTime; timestamps are read and written as plain local-time strings, so it works whether or not that component is loaded.
SEE ALSO
AUTHOR
D Ruth Holloway <ruth@hiruthie.me>
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by D Ruth Holloway.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.