Forum Moderators: open

Message Too Old, No Replies

Use of Compression in Java script

         

Exceedwiz

9:22 am on Oct 7, 2014 (gmt 0)

10+ Year Member



How can we use image compression in our code with js because it takes too much time when it is loading
at live server ?

rainborick

4:17 pm on Oct 9, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



It isn't clear to me what you're asking.

If you want to compress your JavaScript files, there are tools available online that will help. Search on "JavaScript minify tool".

If you want to compress your images, there are similar tools available online. Search on "image compression tool" to find one that will reduce the size of the image files on the server with little loss of quality. JavaScript really shouldn't be involved in this process in most cases.

not2easy

4:37 pm on Oct 9, 2014 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Google offers resources to help you compress and optimize images and a lot of information about getting the best results from different methods: [developers.google.com...]

penders

4:16 pm on Oct 10, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Are these images uploaded by your users? Or part of your site design/development?

phranque

4:23 am on Oct 13, 2014 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld, Exceedwiz!


are you uploading these images or downloading?