Friday, January 8, 2010

How to compress a html coded webpage?

I am creating a webpage and I was wondering how to compress all the files (audio, gif, jpeg, bmp and the actual .htm files) so that the page will run faster. is there a free program I can use or what? thanks for the helpHow to compress a html coded webpage?
You compress gif and bmp files by converting them to jpg or png files. You compress wav files by converting them to mp3 files. You don't compress jpg, png or mp3 files (files that are already compressed can get larger by compressing them - jpg, png and mp3 are compressed formats).





You compress html and Javascript by deleting all unnecessary whitespace. (Unless the file is huge or the user is on a slow dial-up connection, that won't make much difference.)





If you're on a server that uses gzip, you don't want to actually compress anything because compressing compressed files is a bad idea (and gzip is compression).How to compress a html coded webpage?
audio should already be compressed. It depends on what format it is in





gif and jpeg are already compressed.





bmp is not compressed. Save these as jpegs, or some other compressed format (png i think is better if there is text in them) and then delete the bmps





I don't think the .htm files can be compressed.





if you have lots of large bmp pictures, that's probably why its going slow.
Here's one to compress html: http://www.tucows.com/preview/219162


There are many others.





To compress images, open them in an image editor and reduce the size (width and height).
  • antibiotic cream
  • make lip gloss
  • colour foundation
  • liquid powder
  • No comments:

    Post a Comment