English 中文(简体)
Should I turn on compression for Azure App Server and Azure BLOBs? And if so, how?
原标题:

I have a Blazor server app. Every byte[] object in the app is a BLOB. It does have .css and .js files as local files under wwwroot but every png, docx, svg, and the few static html files are BLOBs.

So the first question is, do I want to turn on compression for the App Service and/or BLOB Storage? png & docx files are already compressed. The svg & html files I have are small so a win on less bandwidth, but a performance hit on decompressing. And for the SPA rendered by Blazor server, that s components being built/changed on the fly over a SignalR connection. So is compression there useful (same small sizes issue)?

And if it s a win, how do I turn it on? As I see it there are three places to enable it. For SignalR & BLOB I can t find where/how. And for the website static files, there s different answers on each search result.

  1. SignalR connection rendering pages
  2. Static .css & .js files under wwwroot local to the website
  3. BLOB files that are compressible (html, svg)
问题回答

暂无回答




相关问题
BlackBerry - Unpack Zip File

I m developing a BlackBerry application in which I need to unpack a zip file compressed with PKZIP. The package could have one file in it, or it could have 10; it will vary in each case. I know that ...

How to find if a request is for js or css in httpHandler

is there any way to find if a particular request is for JS or CSS in httphandler to improve the performance of my website i was using HttpCompress from Code Project http://www.codeproject.com/KB/...

Compress data before storage on Google App Engine

I im trying to store 30 second user mp3 recordings as Blobs in my app engine data store. However, in order to enable this feature (App Engine has a 1MB limit per upload) and to keep the costs down I ...

How to process compressed data in Java

I have some data which takes up more than 50MB in an uncompressed file, but compresses down to less than half a MB using gzip. Most of this is numerical data. I m trying to figure out how to process ...

What is the best way to extract a zip file using java

I have a a zipped file. That file contains various directories and files also. I want to extract all those and save in a specified path. So How to write a java program to extract the zipped file. ...

热门标签