You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Piranha is adding the static file middle using IStartupFilter during the service setup.
As the static file middle is a terminalmiddleware it is not possible to configure it twice.
So it would be great to be able to configure the cache control and expires using piranha.
Edit: same for compression
As a quick fix i wrote my own start filter or is there already an existing solution?
The text was updated successfully, but these errors were encountered:
Hi there! Sorry for the late response. Are your referring to the static file provider configured when running local assets with Piranha.Local.FileStorage. If this is the case, would it be enough the have the possibility to add an Action to set the options when calling UseFileStorage(...).
Piranha is adding the static file middle using IStartupFilter during the service setup.
As the static file middle is a terminalmiddleware it is not possible to configure it twice.
So it would be great to be able to configure the cache control and expires using piranha.
Edit: same for compression
As a quick fix i wrote my own start filter or is there already an existing solution?
The text was updated successfully, but these errors were encountered: