Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
A customer asked me to compress the sitemap so I implement it in this module. I hope this will help someone.
Comment | File | Size | Author |
---|---|---|---|
#4 | compress_sitemap_using-2882626-4.patch | 3.2 KB | DiDebru |
| |||
#2 | compress_sitemap_using-2882626-2.patch | 3.11 KB | DiDebru |
Comments
Comment #2
DiDebruComment #4
DiDebruPatch rerolled at current 8.x-2.x
Comment #5
sagesolutions CreditAttribution: sagesolutions commentedI think a better way compress the sitemap file would be configuring the web server (nginx / apache / whatever) to compress .xml files instead of compressing it in the module.
Thoughts?
Comment #6
gbyte CreditAttribution: gbyte as a volunteer and commentedI am not sure about the need of sitemap compression. Chunking the sitemap (which is an option in this module) should be a viable measure to reduce load. How beneficial is it to hold a compressed text file in the database anyway?
Comment #7
gbyte CreditAttribution: gbyte as a volunteer and commented[erroneous duplicate comment]
Comment #8
gbyte CreditAttribution: gbyte as a volunteer and commented@sagesolutions This module does not produce files. It holds the XML data inside of the DB, so if we would implement this, we would have to implement the compression logic in the module.
Waiting for feedback on comment #6.
Comment #9
DiDebruActually I thought it would be a good way to compress the file, I never come in touch with this so I don't know how to do it, so I thought I would use this module for it. Maybe there is a better way to do it.
Comment #10
gbyte CreditAttribution: gbyte as a volunteer and commentedThanks @Insasse, going to leave this as 'postponed', need more input from the community on this.
Comment #11
gbyte CreditAttribution: gbyte as a volunteer and commentedComment #12
gbyte CreditAttribution: gbyte as a volunteer and at gbyte commentedComment #13
gbyte CreditAttribution: gbyte as a volunteer and at gbyte commentedClosing as per lack of interest.