I want to gzip my static files.
i am trying to set up deflate compression but i have HTTPS the following was working good when i wasn't use ssl
SetOutputFilter DEFLATE
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
I've got a site with nginx + phppfm and compression works fine except for POST reqests (ajax).
Part of my config is:
gzip_types text/plain text/html text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
any suggestions what can be wrong?
Here is my setting in tommcat conf/server.xml
The result is it can compress text/html but not for javascript and css.
My rent this is amazon cloud server.
I log onto this server and make the change
restart the server
no luck.
Any idea?
I have Debian server with a site running, I wanted to create sub-domain, so I created file in the sites-available dir.
I have IIS 7.5 set to compress all static files (the default), yet it does not compress .js (javascript) files.
I would like to compress a text file using gzip command line tool while keeping the original file. By default running the following command
gzip file.txt
results in modifying this file and renaming it file.txt.gz. instead of this behavior I would like to have this new compressed file in addition to the existing one file.txt.
In the "Why Xar" page of the Xar google code page it says:
"Additionally, this means xar can use different compression methods for
each file in the archive.
I occasionally receive html messages and I would like to see whether text has been formatted or colored by the sender. I can simply navigate to the attachment list and open the text/html MIME type attachment with a web browser; however, for the sake of simplicity, I would prefer for the html to be rendered as formatted text within the pager.