how to compress file ?

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member

how to compress file ?

i have stored file ACS . i  am using adf node download  property to download files . thers is any way to compress file and download 

3 Replies
Highlighted
Master

Re: how to compress file ?

What specifically do you mean? Do you want to compress the file in ACS storage, compress the file during the download transport (HTTP compression) or compress the file once it has been downloaded on the client?

Highlighted
Active Member

Re: how to compress file ?

Hi Axel ,

                    I want during the download transport (HTTP compression)

Master

Re: how to compress file ?

That feature depends on how you provide access to your Alfresco system. If you use Apache HTTPs as a proxy, check mod_deflate. Tomcat itself also supports compression (look for compressibleMimetype in Apache Tomcat 8 Configuration Reference (8.5.37) - The HTTP Connector ). Either way, you will have to define which mimetypes the server / proxy should compress when sending to the client. For some mimetypes it will not make much sense to use HTTP compression as they are already naturally compressed, and the gains would be very minimal at best.