Add file get content twig extension #479
Labels
enhancement
New feature or request
IIIF
Specs/Manifests/Implementations
metadata
Meta(l) data
Twig Extension
Make those flowers reach the sun
Twig
Twig template processing
Milestone
What?
Why would you do that?
Imagine a Twig template that takes 5 minutes to process bc it uses thousands of results from Views and nested. Same as "this call could have been an email", "this twig template result could have been a static file" situation? Maybe attaching a JSONLD to the Object/ADO with a static result of that template is a better choice? But without adding more code to Mirador, etc. One could still serve the EXPOSED endpoint that would "if the JSONLD file is present and attached to the object then deliver its content wrapped around an API ... but if not, process the twig template as usual" type of scenario
Danke
The text was updated successfully, but these errors were encountered: