Tiberiu Ichim
Tiberiu Ichim
@davisagli sometimes the logo is SVG :/
My personal wish (and regret that I haven't done that when I was doing the refactoring) is that the static file handler would be moved to its own separate middleware...
@mamico What is the scenario that you need the caching policy set in Volto? Usually we do this at the proxy http server level.
@mamico So, how about moving the static handler to a separate middleware inside express-middleware and make the caching configurable? I can imagine the following configuration: ``` config.settings.staticfiles = [{ match:...
The bottom line is this, though: we have an HTTP server in Volto and it serves, by default, static resources. Even more, moving it to a separate middleware is needed...
> > So I think the least we can do is move the static file to a separate middleware, ... > > @tiberiuichim Is this the implementation you are thinking...
I'm +1 on having the PR updated and merged. @plone/volto-team will probably agree?
CC @sneridagh @robgietema @giuliaghisini
> which has a function to render each of the items, and that function decides according to the item to be rendered each time Yes, that is another use case...
I think there needs to be a new version of plone-frontend released.