Skip to content
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

how to use the compressed gz file #69

Closed
guguji5 opened this issue Aug 10, 2017 · 2 comments
Closed

how to use the compressed gz file #69

guguji5 opened this issue Aug 10, 2017 · 2 comments

Comments

@guguji5
Copy link

guguji5 commented Aug 10, 2017

I run the vue-cli,and build my project.the vendor builded is too large.so i gzip it and turn to several gz files.but i don't know how to use it.its size seem to suitable.

@michael-ciniawsky
Copy link
Member

If you get .gz files the job of this plugin is done 😛 , you need to configure your webserver to serve gzip resources (Encoding, HTTP Headers etc), depending which server you use this info can be found in the docs as it is a standard configuration task.

@BorjaRafols
Copy link

That is not problem @michael-ciniawsky.

However in my case I'm upoading .gz file to cloudfront, so I can not add a middleware on my webserver, instead I need wepack to request the .gz url of the assets instead of the normal one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants