You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2018/05/12 17:27:13 UTC

[GitHub] Thedemon007 opened a new issue #1557: Optimized javascript is not compressed

Thedemon007 opened a new issue #1557: Optimized javascript is not compressed
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1557
 
 
   When downloading to .js.pagespeed. **** file in specific, the server response with header Content-Encoding: gzip however it is not compressed.
   
   ```
   curl -v -H 'Accept-Encoding: gzip,defate' http://example.com/control.js.pagespeed.ce.7baaRriFEV.js
   *   Trying 213.136.72.205...
   * Connected to holidaysrental.eu (213.136.72.205) port 80 (#0)
   > GET /wp-content/themes/wprentals/js/control.js.pagespeed.ce.7baaRriFEV.js HTTP/1.1
   > Host: holidaysrental.eu
   > User-Agent: curl/7.47.0
   > Accept: */*
   > Accept-Encoding: gzip,defate
   > 
   < HTTP/1.1 200 OK
   < Server: nginx/1.14.0
   < Content-Type: application/javascript
   < Connection: keep-alive
   < Last-Modified: Wed, 09 May 2018 18:59:48 GMT
   < X-Varnish: 33383
   < Age: 0
   < Via: 1.1 varnish (Varnish/5.2)
   < Vary: Accept-Encoding
   < X-Original-Content-Length: 65971
   < Content-Encoding: gzip
   < Content-Length: 12732
   < X-Content-Type-Options: nosniff
   < Date: Fri, 11 May 2018 22:27:51 GMT
   < Expires: Fri, 11 May 2018 22:32:51 GMT
   < Cache-Control: max-age=300,private
   < X-Page-Speed: 1.13.35.2-0
   < 
   var has_transparent=0;var componentForm;var price_array;var 
   ```
   If you try to get the original file, the server does compress it correctly.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services