Skip to content

How to use pregzipped js files in angular #2444

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
aspnet-hello opened this issue Jan 1, 2018 · 3 comments
Closed

How to use pregzipped js files in angular #2444

aspnet-hello opened this issue Jan 1, 2018 · 3 comments
Labels
area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares feature-static-files ✔️ Resolution: Duplicate Resolved as a duplicate of another issue Status: Resolved
Milestone

Comments

@aspnet-hello
Copy link

From @akashshelke22 on Thursday, October 5, 2017 5:35:17 AM

I have an angular application. I am using webpack and commonjs. i have minified all js files. Now i have vendor.js(angular lib file) of size 888 kb and vendor.js.gz 195 kb.
But i don't know how to use this vendor.js.gz file.

I also tried to enable compression from iis but no luck. It shows me 'transferred- encoding': chunked in response header instead of 'content-encoding': gzip.

So, please help me if anyone knows gzip implementation

Copied from original issue: aspnet/StaticFiles#216

@aspnet-hello
Copy link
Author

From @Tratcher on Thursday, October 5, 2017 6:26:53 AM

This isn't supported. We've done some research on it recently but it looks like it will take some invasive changes in the stack to make it work. We're stuck with dynamic compression for now.

Are you primarily trying to do this to reduce:
A) Deployment size?
B) CPU utilization?
C) Download size?

@aspnet-hello
Copy link
Author

From @akashshelke22 on Thursday, October 5, 2017 6:56:47 AM

Download size

@muratg muratg added this to the Backlog milestone Mar 7, 2018
natemcmaster pushed a commit that referenced this issue Nov 14, 2018
Add IConnection to Connections.Abstractions (#2444)
@JunTaoLuo
Copy link
Contributor

This seems like a duplicate of #2458

@JunTaoLuo JunTaoLuo added the ✔️ Resolution: Duplicate Resolved as a duplicate of another issue label Nov 11, 2020
@ghost ghost added the Status: Resolved label Nov 11, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 11, 2020
@amcasey amcasey added area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares and removed area-runtime labels Jun 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares feature-static-files ✔️ Resolution: Duplicate Resolved as a duplicate of another issue Status: Resolved
Projects
None yet
Development

No branches or pull requests

5 participants