![]() | | ||||||||
| | #1 |
| Warrior Member Join Date: Mar 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
Hi, can anyone please tell me how can I reduce the bandwidth consumption of my website. My website is MyOpenTheatre dot com - Watch movies online free It does not contain any videos but every post has a small image of size around 20kb. I have never optimised any of the webpages and I'm using WordPress wherein Iam using a lot many number of plug-ins. can anyone please suggest me what should I do to reduce the bandwidth usage of my website. |
| | |
| | #2 |
| Warrior Member Join Date: Mar 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
Remember to put javascript and css to external files. That will shave few kilobytes off.
|
| | |
| | #3 |
| HyperActive Warrior Join Date: Feb 2009 Location: Isla de Margarita VE
Posts: 124
Thanks: 2
Thanked 8 Times in 7 Posts
|
Hi there! I think that if you want to reduce bandwidth usage, you should do such things: - You html code could be much better optimized (css based using shorthands) - Optimize your images: checking your main page I see that at least you can save a few kb. If you have a lot visitors (that's why you want reduce bandwith right?) you'll save a lot. I hope this can help you. Wish you success. |
| | |
| | #4 |
| Technology Adviser Join Date: Mar 2008 Location: Canada
Posts: 74
Thanks: 5
Thanked 2 Times in 2 Posts
|
Get the "yslow" plugin for firefox, which will give you hints. Most aspects are based on size/speed, which would help your bandwidth. On reloading your page I noticed I was getting 304 response for the images, but no "expires" header. An expires header set far into the future will help browser and proxy caches store those images for longer periods of time, speeding up accesses, particularly repeat accesses or accesses from behind ISP caches. A far future expires header on the CSS pages will serve the browser cache on each page load saving you from launching another process and serving another request. IF you are going to server that many images on a page, consider using lighttpd or something smaller than apache to do it. You could then have lighttpd serving images (efficiently) while apache was handling the WP requests. There appears to be a lot of dynamic stuff from WordPress like the polls and ratings and such. That would eat up some time too. Overall there is a lot of action there. Probably close to 100 requests being served for each page load. There is a lot you could do to speed that up but you may need the services of a consultant to do it in a quick time frame. |
|
There's a difference between effective and efficient programming. Anyone can be effective. I strive to be efficient.
| |
| | |
| | #5 |
| Active Warrior War Room Member Join Date: Mar 2007 Location: Toronto
Posts: 39
Thanks: 5
Thanked 1 Time in 1 Post
|
Are you really using that much bandwidth? How much are you using & is your host charging you? If not I would not worry the pages seem to load fine
|
| | |
| | #6 |
| Warrior Member Join Date: Mar 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
I took a basic plan of 15 GB Online storage and 20 GB monthly transfer. Since my site is getting popular people have started to almost residde and browse my site for hours !!!! Many of them are browsing 20 30 pages with 15 Images in each !!!! Help: Plinko explained to increase image expire time so that image cache stays longer in the visitors computer and in one way would reduce my bandwidth. But how to do that ? Sounds really a very good idea ! |
| | |
| | |
| | #7 |
| Technology Adviser Join Date: Mar 2008 Location: Canada
Posts: 74
Thanks: 5
Thanked 2 Times in 2 Posts
|
Here's what I've been using on some sites lately: ExpiresActive on ExpiresDefault A600 ExpiresByType image/gif "access plus 1 week" ExpiresByType image/jpeg "access plus 1 week" ExpiresByType image/jpg "access plus 1 week" ExpiresByType image/png "access plus 1 week" ExpiresByType image/x-icon "access plus 1 week" ExpiresByType text/css "access plus 1 week" ExpiresByType text/xml "access plus 1 day" ExpiresByType application/x-javascript "access plus 1 week" <FilesMatch "\.(php|php4)$"> ExpiresByType text/html "now" </FilesMatch> If your images and css files never change then you can set those to "1 month" instead of "1 week." This is for a virtual host root config file but should work similarly in an .htaccess file in your root www directory. For info on what these do, httpd.apache.org has information. Just search the site for mod_expires in the 2.2 documentation. Here's a couple more links to help: High Performance Web Sites: Rule 3 - Add an Expires Header (Yahoo! Developer Network Blog) Best Practices for Speeding Up Your Web Site Rule 3 - Add an Expires Header Wish I could help more but I'm passing thru right now... |
|
There's a difference between effective and efficient programming. Anyone can be effective. I strive to be efficient.
| |
| | |
| | #8 |
| Active Warrior Join Date: Mar 2009
Posts: 37
Thanks: 0
Thanked 3 Times in 3 Posts
|
A lot of good advice. Thanks for all!
|
| | |
| | |
| | #9 |
| Active Warrior Join Date: Apr 2009
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
|
Thanks everyone just looking for this tips
|
| | |
| | #10 |
| Warrior Member Join Date: Apr 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
Excellent post and thanks for sharing the views , as i was looking for this from some time now.its very useful for people like me.
|
| | |
| | |
| | #11 |
| Advanced Warrior War Room Member Join Date: Mar 2009 Location: Borneo Island
Posts: 712
Thanks: 88
Thanked 89 Times in 54 Posts
|
Here is how I manage to reduce my bandwith to 50% 1. Instead of storing your own photo, try to upload the images to picassa / flickr / photobucket. This will save the most of your bandwith. 2. Have you tried the Gzip compression method ? If your sites is using heavy CSS or Javascript, use it to compress all the css and javascript files. For example, if you have those prototype / jquery, you will be saved soo much with this compression method. Hope it helps... |
| | |
![]() |
|
| Tags |
| bandwidth, reduce, usage |
| Thread Tools | |
| |
![]() |