Skip to content

Add file get content twig extension #479

@DiegoPino

Description

@DiegoPino

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

Metadata

Metadata

Assignees

Labels

IIIFSpecs/Manifests/ImplementationsTwigTwig template processingTwig ExtensionMake those flowers reach the sunenhancementNew feature or requestmetadataMeta(l) data

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions