[Bug 71995] WMFLabs: Gzip text/javascript responses from fcgi (just like text/html)

2014-10-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71995

Tim Landscheidt t...@tim-landscheidt.de changed:

   What|Removed |Added

 CC||m...@uberbox.org
   Assignee|m...@uberbox.org|yuvipa...@gmail.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 71995] WMFLabs: Gzip text/javascript responses from fcgi (just like text/html)

2014-10-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71995

--- Comment #5 from Krinkle krinklem...@gmail.com ---
 dynamicproxy: Compress text/javascript as well
 Change-Id: I91c83b557b3af3977919412325c9bb950480e88f

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 71995] WMFLabs: Gzip text/javascript responses from fcgi (just like text/html)

2014-10-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71995

Yuvi Panda yuvipa...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Yuvi Panda yuvipa...@gmail.com ---
Fixed by  https://gerrit.wikimedia.org/r/166676

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 71995] WMFLabs: Gzip text/javascript responses from fcgi (just like text/html)

2014-10-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71995

--- Comment #1 from Krinkle krinklem...@gmail.com ---
Externally:

$ curl --compress -I 'http://tools.wmflabs.org/intuition/index.php'
HTTP/1.1 200 OK
Server: nginx/1.5.0
Content-Type: text/html; charset=utf-8
X-Powered-By: PHP/5.3.10-1ubuntu3.14+wmf1
Content-Encoding: gzip
$ curl --compress -I 'http://tools.wmflabs.org/intuition/load.php?env=mw'
HTTP/1.1 200 OK
Server: nginx/1.5.0
Content-Type: text/javascript; charset=utf-8
X-Powered-By: PHP/5.3.10-1ubuntu3.14+wmf1

Hitting nginx directly from bastion:

$ curl --compress -I 'http://tools-webproxy.eqiad.wmflabs/intuition/index.php'
HTTP/1.1 200 OK
Server: nginx/1.5.0
Content-Type: text/html; charset=utf-8
X-Powered-By: PHP/5.3.10-1ubuntu3.14+wmf1
Content-Encoding: gzip
$ curl --compress -I
'http://tools-webproxy.eqiad.wmflabs/intuition/load.php?env=mw'
HTTP/1.1 200 OK
Server: nginx/1.5.0
Content-Type: text/javascript; charset=utf-8
X-Powered-By: PHP/5.3.10-1ubuntu3.14+wmf1

Hitting the lighty server directly from tools-login:

$ curl --compress -I 'http://tools-webgrid-01:4134/intuition/main.js'
HTTP/1.1 200 OK
Content-Type: application/javascript
ETag: 1806578031
Last-Modified: Thu, 05 Jun 2014 23:22:11 GMT
Content-Length: 477
Server: lighttpd/1.4.28
$ curl --compress -I 'http://tools-webgrid-01:4134/intuition/index.php'
HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.10-1ubuntu3.14+wmf1
Content-Type: text/html; charset=utf-8
Server: lighttpd/1.4.28
$ curl --compress -I 'http://tools-webgrid-01:4134/intuition/load.php?env=mw'
HTTP/1.1 200 OK
X-Powered-By: PHP/5.3.10-1ubuntu3.14+wmf1
content-type: text/javascript; charset=utf-8
Server: lighttpd/1.4.28

So gzip is added somewhere after lighttpd before, but before or in the proxy.
And it's happening for php, but only for html from php, not js from php?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 71995] WMFLabs: Gzip text/javascript responses from fcgi (just like text/html)

2014-10-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71995

Yuvi Panda yuvipa...@gmail.com changed:

   What|Removed |Added

 CC||yuvipa...@gmail.com

--- Comment #2 from Yuvi Panda yuvipa...@gmail.com ---
From urlproxy.conf in ops/puppet:

gzip_types text/plain text/css text/xml application/json
application/javascript application/x-javascript;

So it's looking for application/javascript, rather than text/javascript. I
could easily add support for text/javascript, but I'd prefer not to unless it
causes issues somewhere...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 71995] WMFLabs: Gzip text/javascript responses from fcgi (just like text/html)

2014-10-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=71995

--- Comment #3 from Yuvi Panda yuvipa...@gmail.com ---
And yes, compression is handled in nginx for most cases, rather than lighty.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l