Skip to content

Refactor cache ttl concern to a handler class #426

@mreq

Description

@mreq

To use a single handler class and not pollute controller with a lot of methods. The set_cache_control_headers should simply call something like Folio::CacheControl::Handler.new(record:, controller: self).set_cache_control_headers instead of doing all the work

see #424

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions