https://bugzilla.wikimedia.org/show_bug.cgi?id=71995
Bug ID: 71995
Summary: WMFLabs: Gzip text/javascript responses from fcgi
(just like text/html)
Product: Wikimedia Labs
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: tools
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Web browser: ---
Mobile Platform: ---
Right now the tools.wmflabs.org proxy and/or the lighttpd default configuration
are gzipping:
* static html
* static js:
https://tools.wmflabs.org/intuition/main.js
* static css
https://tools.wmflabs.org/intuition/main.css
* fcgi-php generated html
https://tools.wmflabs.org/intuition/index.php
But not
* fcgi-php generated js
https://tools.wmflabs.org/intuition/load.php?env=mw
I tried adding compress.file-types = ( "text/javascript" ) or
compress.file-types = ( "text/javascript; charset=utf-8" ) but made no
difference.
I'd understand if fcgi responses are not covered by mod_compress by lighttpd.
But then was is doing the gzip compression for the index.php response?
I thought it was the dynamicproxy instance, but that actually had its text/html
gzip entry removed as of https://gerrit.wikimedia.org/r/#/c/133265/. So
1) What is adding gzip for text/html PHP responses?
2) How can I get it on text/javascript PHP responses?
See also:
* Default lighttpd config
https://github.com/wikimedia/operations-puppet/blob/b7b047918/modules/toollabs/files/lighttpd-starter#L42-L110
* Nginx config (proxy)
https://github.com/wikimedia/operations-puppet/blob/b77cc66ec/modules/dynamicproxy/templates/domainproxy.conf
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l