CompressedStaticFiles
CompressedStaticFiles copied to clipboard
asp.net core middleware to send compressed static files to the browser without having to compress on demand, also has support for sending more advanced image formats when the browser indicates that i...
Added Ability to serve Static Files from Alternate FileProviders like virtual or embedded sources
Hello, when i am using the compressed middleware i am getting this issue on trying to access embedded files related to #34 ``` info: CompressedStaticFiles.CompressedAlternativeFileProvider[1] Sending file. Request file: '/embedbackend/plugins/global/plugins.bundle.css'....
I can see this library likely works great for Blazor Server, but could it be extended to add compressed static resource support in Blazor WASM applications?
## Ratioanle If `StaticFileOptions` has `RequestPath` path specified and static files are queried as `{RequestPath}/path-to-a-static-file` then cached versions are not served. It says that `originalFile` doesn't exist https://github.com/AnderssonPeter/CompressedStaticFiles/blob/424d6fdf0e0b4259cc02732d67209218b4f1b3a9/src/CompressedStaticFiles/CompressedStaticFileMiddleware.cs#L99-L104 ## Test...
I have a lot of files in my projects and running the gulp file currently takes about half an hour all while utilizing around 8% of my cpu capacity on...
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) and [is-svg](https://github.com/sindresorhus/is-svg). These dependencies needed to be updated together. Updates `fast-xml-parser` from 3.21.1 to 4.2.4 Release notes Sourced from fast-xml-parser's releases. v4 Generating different combined, parser only, builder...
It would be fantastic to be able to call something like `return CompressedStaticFileResult("some/file.html");` from a webapi controller method or `return Results.CompressedStaticFile("some/file.html");` from a minimal API endpoint to leverage the conditional...
Summary: I am running a .net 9.0 web app. I have pre-compressed some bundle.js files using `gzip` to produce bundle.js.gz files. When requesting bundle.js files, the compressed `.gz` files are...