aspire icon indicating copy to clipboard operation
aspire copied to clipboard

Add response compression for static assets to the dashboard

Open DamianEdwards opened this issue 1 year ago • 2 comments

Fixes #4150

Microsoft Reviewers: Open in CodeFlow

DamianEdwards avatar May 10 '24 19:05 DamianEdwards

@davidfowl @blowdart any comments on this one? It's pretty straightforward but there's nuance in where in the middleware pipeline it's enabled and enabling compression over HTTPS but not for HTML, to mitigate any security issues stemming from being able to force user content to be compressed over HTTPS.

DamianEdwards avatar May 14 '24 16:05 DamianEdwards

Funnily enough Javier is doing the same thing as a feature - you should sync with him for his new idea which might mitigate the need to do this in a custom manner. (But generally, no, no concerns for this type of thing as it's static assets)

blowdart avatar May 14 '24 16:05 blowdart

/azp run

DamianEdwards avatar May 16 '24 21:05 DamianEdwards

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar May 16 '24 21:05 azure-pipelines[bot]