| Tips on Disk space saving |
When you are on 300 megs/$25.00 monthly hosting plan, may be
you will have plenty of disk space to play around. What if you
are on basic plan with 10-25 megs disk space?
You have to conserve your disk space otherwise you will
end up with upgrading your hosting plan and paying more.
Here are few tips on saving your space efficiently:
1.WYSIWYG html editors:
When you use these WYSIWYG html editors they tend to blow up the
the html code by adding excess and unnecessary code.See the
two examples below-
The first code was written in WYSIWYG editor.Second was written
with notepad.
Code written using WYSIWYG editor:
<P><FONT face="Verdana" size="2">This is first paragraph.</FONT></P>
<P><FONT face="Verdana" size="2">This is second paragraph.</FONT></P>
<P><FONT face="Verdana" size="2">This is third paragraph.</FONT></P>
<P><FONT face="Verdana" size="2"></FONT> </P>
<P><FONT face="Verdana" size="2"></FONT> </P>
<P><FONT face="Verdana" size="2">This is conclusion part.</FONT></P>
Code written using Note pad:
<P><FONT FACE="Verdana" SIZE="2">This is first paragraph.<BR><BR>
This is second paragraph<BR><BR>
This is third paragraph.<BR><BR>
This is conclusion part.</FONT></P>
If we view the web page we will see both above code gives the
following lines, but the raw html code is more in the first example-
---------------------------------
This is first paragraph.
This is second paragraph.
This is third paragraph.
This is conclusion part.
-----------------------------------
So always try to remove unnecessary code after you using your
WYSIWYG html editor.
2.Images:
- Don't be too fond of images.Necessary images are always be advised to display about your products or services.But too many images fills up your disk space fast.
- Always use '.gif' format than '.jpg'.'.Gif's occupy less space than '.jpg's.
- Try to decrease the size of image with out affecting the clarity and quality.
- Optimize the image files by image compressing software.Image compressors
3.Use SSI for repeated code:
If every page of your web site contains the similar links,
headers and footers you can use SSI to include these files in all
pages with out writing the same code on every page.
More about SSI here.
4.Delete excess data:
If you are enabled web loggers, email accounts, error logs soon
these data occupies large area on your server.So try to allot
minimum disk space for these utilities.And once in a while delete the
mail and logs to clear up some space.
5.Exe, pdf files:
If you have some exe or pdf files (ebooks,help files,company reports
etc.) they tend to occupy lot of space.
You can upload them as 'zip' or 'tar' files which occupies less space
when compared to exe and pdf.
6.Software installations:
Some people install all the cgi scripts because they
are free.Think twice before installing the scripts, whether you actually
need them or not.
|