-
Notifications
You must be signed in to change notification settings - Fork 29
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
h5 cdn files? #50
Comments
That's an excellent idea - I'll take a look on how to add it here |
yes cdn files with Brotli algorithm will reduce the size alot. |
Pending packages getting published to npm
Hi @Ali1Jamal, There is now an option on the h5.json file under the html settings to use the CDN instead of the local h5.js: {
...
"html": {
...
"useCDN" : true,
}
} The files are also hosted here: https://cdn.jsdelivr.net/npm/@h5.rocks/h5@latest/dist/ |
@theolivenbaum thank you for fast replay: |
I'll check it out, thought it would be negotiated automatically between the
browser and the CDN...
…On Sun, Sep 12, 2021, 5:12 PM Ali Jamal ***@***.***> wrote:
@theolivenbaum <https://github.com/theolivenbaum> thank you for fast
replay:
you are doing good job but the size of h5.min.js is (195 kb) because the
Content-Encoding type is gzip algorithm not Brotli algorithm ..this is mean
The size is a little bigger You can reduce the size to approximately 150kb
if you use Brotli ....take a look at this website https://cdnjs.com/ the
bridge.net use it because its use Brotli algorithm
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACDCOA6PGNYQYFI4R7PQDR3UBS7NPANCNFSM5D2X5GNQ>
.
|
I hope cdn files for h5 will be provided this is well improve network download size alot.
The text was updated successfully, but these errors were encountered: