Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Any chance this module could use minified (not packed) JavaScript code from now on? Sure would save bandwidth for very little trouble.
Comment | File | Size | Author |
---|---|---|---|
#6 | lightbox2_630496_minify_compat.patch | 1.22 KB | wizonesolutions |
Comments
Comment #1
gregarios CreditAttribution: gregarios commentedSorry 'bout that link: minified
Comment #2
Dave ReidSeconded. The lightbox.js is nearly 45K. It would be great if a *.min.js versions of each js file could be added, and served by default.
EDIT: It's lightbox.js that's the biggie, not lightbox2.js.
Comment #3
ice5nake CreditAttribution: ice5nake commented+1
Lightbox is great but the lack of minification is very unsexy.
Libraries module support would be a nice companion to this as well.
Comment #4
dman CreditAttribution: dman commentedI'm surprised it wasn't minified, or didn't have the option.
I'm about to release a site I thought was graphic-heavy, but it seems that it's lightbox that is the single biggest file download for me.
Bumping version because - because it's a few years on and still open.
Comment #5
wizonesolutionsStill open, huh? Anyone have a good workaround for this?
Comment #6
wizonesolutionsI found a workaround: the Minify module. Unfortunately, it won't minify
lightbox.js
by default. The attached patch fixes that.Comment #7
liezie_D CreditAttribution: liezie_D commentedThanks! This patch (#6) worked on my system.