epimorphics / standard-reports-ui

Front-end development for standard reports project
0 stars 0 forks source link

Set the `change_default_caching_policy` in the app `before_action`s #102

Closed jonrandahl closed 1 year ago

jonrandahl commented 1 year ago

Using before_actions let's us "prepare" the data necessary before the action in the controller executes. In this case setting the cache headers to the desired length.

https://github.com/epimorphics/hmlr-linked-data/issues/114