-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Enable gzip compression for CDN #1306
Comments
Там же:
|
Во-первых, Amazon CloudFront не поддерживает в нужном виде gzip-компрессию. Если она нужна — пользуйтесь другим CDN. Во-вторых, в более новых версиях срок кеширования уже настроен. |
Я писал Яндексу, они не хотят добавлять либу ссылаясь на то, что она непопулярная. Привел в пример им викимапию и форсквер - молчат. |
Они лукавят, Лифлет популярнее и лучше Yandex Maps API, вот им и завидно. :) |
Could you explain this in English please? Why was this closed? There is still no gzip compression for the resources on the CDN afaict. |
Use google translate, mourner says to use cdnjs which has gzip compression. |
Actually I think this should be revisited. Initially I worried that CloudFront doesn't support automatically gzipping and serving based on content headers. But now that all browsers/clients support gzip, we should just gzip by default. |
Hi, I saw this issue on http://up-for-grabs.net/ and wanted to give it a shot, see if I can help you guys out. Does this refer to the leaflet website itself? Anyhow, I have not been able to find the code for the backend, just the frontend, and this looks like either a backend issue or a cdn configuration issue. |
We switched our CDN to unpkg.com, so this can be considered fixed. http://leafletjs.com/download.html |
From PageSpeed:
The text was updated successfully, but these errors were encountered: