Comments (10)
Not sure about apache, but nginx supports gzip compression of the content on the fly. Even for fastcgi backends.
So what's the point of this issue?
from prestasitemapbundle.
- imho we should return sitemap files with corresponding extensions (xml/xml.gz).
- when we have 120+ subdomains (100Mb+ sitemaps per domain) - it could be a problem to store them. So it would be nice if dumper allow gzipping
from prestasitemapbundle.
100Mb+ is a problem to store only on $5 shared hosting. Ancient browsers do not support gzip encoding. Let http servers solve such problems.
from prestasitemapbundle.
Леша, причем тут браузеры? С каких это пор мы делаем сайтмапы для людей? Я говорю, что у нас 120 субдоменов, у каждого по 100 с лишним карт сайтов. Зачем занимать столько места если можно все это сжать?
from prestasitemapbundle.
gni?!
(Don't worry I used google translate. Please don't forget to use english).
from prestasitemapbundle.
@Koc stick to english, this is international resource. Let me explain my last comment: you can not guarantee gzip support for any client. Neither browser, neither google bot, neither any other crawler. Gzip support is a big problem for any 3rd party library: there's zlib library but it's not enabled by default. It's possible to use gzip
unix command but what about windows users? To sum up:
- unknown support of gzip from clients
- no easy way to use gzip in php
In the end it's open source: you need it - you fork it, you implement it. If you think it's useful for community - contribute it to upstream via push request.
P.S. Костя, don't worry, be happy
@esion i wonder what language did you use?
from prestasitemapbundle.
@mente I speak and think in French. Obviously it's better to communicate in English here :)
Well, about gzip I'm not sure what should be done, we don't have sitemap as large as you have.
If I well remember, the http request headers gives info about what is allowed, so we may provide an gziped answer ... or not. And as you said @mente, maybe it's the job of the http server.
For now I can't implement any solutions.
from prestasitemapbundle.
Of course this issue low priority. --gzip
option would be optional. I will open PR after #28 would be merged to avoid conflicts
from prestasitemapbundle.
Also gzipping described in native specification http://www.sitemaps.org/protocol.html
from prestasitemapbundle.
Great! Can I peek into your code before you send a PR for it? Wondering how did you solve problems I've mentioned before
from prestasitemapbundle.
Related Issues (20)
- Cancel <lastmod> field HOT 1
- Multi-domain errors cause sitemapindex XML confusion
- Creation of sitemap.xml files in sub directory HOT 4
- Deprecation Warning as of Symfony 6.2 HOT 3
- Wrong Domain in Index Sitemap if multiple Tenants are in use HOT 4
- Decorating in AddUrlEvent is impossible HOT 2
- S3 compliant HOT 2
- Fill field lastmod on a per url basis ? HOT 2
- Help: No URLs were added to sitemap by EventListeners - this may happen when provided section is invalid HOT 2
- Urlset->add() doesn't use Url->lastmod() for the Urlset lastmod HOT 3
- Drop Symfony 4.4, add Symfony 7 HOT 4
- Add /robots.txt route HOT 2
- Add (or Document) how to get the section list from the sitemap service HOT 1
- Add option for xsl
- route context not generating as expected HOT 5
- Routes generated twice in the XML HOT 3
- Allow to add custom URLs to sitemap index without populating section HOT 12
- Namespace Issue in Sitemap HOT 7
- how to cache generated sitemap using event populate? HOT 1
- Multi domain HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prestasitemapbundle.