Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Can't compress JavaScript file with lighttpd compress mod



Threaded Mode | Print  

 Can't compress JavaScript file with lighttpd compress mod (3 Replies, Read 37655 times)
alouty
Group: Member
Post Group: Newbie
Posts: 7
Status:
How to compress javascript file using Webuzo's Lighttpd Compress mod.

Use gzip compression for transferring compressable responses: 42/100
258.7 KB total in compressible text, target size = 109.8 KB - potential savings = 148.8 KB

FAILED - (95.5 KB, compressed = 23.7 KB - savings of 71.9 KB) - http://www.xxx.com.my/system/ext/jquery/jquery-ui.js

======================================================================
Below are compress.conf:
compress.filetype = ("text/plain","text/css","text/xml","application/x-javascript","text-x-component","text/richtext","image/svg+xml","text/xsd","text/xsl","image/x-icon","application/javascript", "text/html")

##
## Maximum filesize that will be compressed.
## Default is 0, which means unlimited file size.
##
#compress.max-filesize = 0
IP: --   

Can't compress JavaScript file with lighttpd compress mod
alouty
Group: Member
Post Group: Newbie
Posts: 7
Status:
Quote From : alouty February 15, 2015, 4:29 am
How to compress javascript file using Webuzo's Lighttpd Compress mod.

Use gzip compression for transferring compressable responses: 42/100
258.7 KB total in compressible text, target size = 109.8 KB - potential savings = 148.8 KB

FAILED - (95.5 KB, compressed = 23.7 KB - savings of 71.9 KB) - http://www.xxx.com.my/system/ext/jquery/jquery-ui.js

======================================================================
Below are compress.conf:
compress.filetype = ("text/plain","text/css","text/xml","application/x-javascript","text-x-component","text/richtext","image/svg+xml","text/xsd","text/xsl","image/x-icon","application/javascript", "text/html")

##
## Maximum filesize that will be compressed.
## Default is 0, which means unlimited file size.
##
#compress.max-filesize = 0


Adding text/javascript fixed it.
IP: --   

Can't compress JavaScript file with lighttpd compress mod
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Glad to learn your issue was resolved and thanks a lot for sharing the solution.



-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Can't compress JavaScript file with lighttpd compress mod
tonytong
Group: Member
Post Group: Newbie
Posts: 1
Status:
Quote From : alouty February 15, 2015, 3:52 pm
Quote From : alouty February 15, 2015, 4:29 am
How to compress javascript file using Webuzo's Lighttpd Compress mod.

Use gzip compression for transferring compressable responses: 42/100
258.7 KB total in compressible text, target size = 109.8 KB - potential savings = 148.8 KB

FAILED - (95.5 KB, compressed = 23.7 KB - savings of 71.9 KB) - http://www.xxx.com.my/system/ext/jquery/jquery-ui.js

======================================================================
Below are compress.conf:
compress.filetype = ("text/plain","text/css","text/xml","application/x-javascript","text-x-component","text/richtext","image/svg+xml","text/xsd","text/xsl","image/x-icon","application/javascript", "text/html")

##
## Maximum filesize that will be compressed.
## Default is 0, which means unlimited file size.
##
#compress.max-filesize = 0


Adding text/javascript fixed it.


appreciate, useful information.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 18, 2024, 4:30 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.028