Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > Graphics, Images, Logos Templates & CSS > CSS Cascading Style Sheets

Notices

CSS Cascading Style Sheets All topics and discussions relating to CSS Cascading Style Sheets.

Reply
 
Thread Tools
  #1  
Old 11-27-2008, 07:59 PM
Private First Class
 
Join Date: Jul 2006
Posts: 6
Default Faster Loading Of Pages....an idea/question!

Hi Everyone,
I hope I'm in the right place...so here goes. I have recently been interested in using CSS and/or HTML code to enhance my website

www.briancristopher.com

and I noticed how much faster things seem to happen when I preview them and learn by my mistakes.
So with this in mind I have cloned my pages and deleted all visible infomation(text/images/links the whole lot) but have kept all the code for this stuff in the VIEW page as HTML dropdown menu (ďnside the body)
So what I look at is in effect a blank page, but on previewing EVERYTHING is working and much much faster...the page weight/loading time is about 20% of the original.
So if I go ahead and publish my pages in this way will it really all work or am I onto a loser of an idea
Any ideas anyone
cheers
Brian cristopher
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 11-27-2008, 08:08 PM
DarrenC's Avatar
Colonel
 
Join Date: Jul 2008
Location: Bristol UK
Posts: 842
Default Re: Faster Loading Of Pages....an idea/question!

Brian

I just looked at www.briancristopher.com and the pages loaded very quickly for me as it stands. I use a broadband connection, which helps, but your site is certainly quicker at loading than many sites I see.

Darren
__________________
Sites recently built and hosted with Vodahost
Bristol Imperial Rugby Club
Fire & Security Products Manufacturer in Bristol
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 11-27-2008, 08:14 PM
Private First Class
 
Join Date: Jul 2006
Posts: 6
Default Re: Faster Loading Of Pages....an idea/question!

Hi Darren,
actually your right,it loads fast enough anyway....that was never an issue for me ,but the idea of getting ANY page to load at 20% of its old speed is rather sweet and economical..and it only take a couple of clicks to do it.
I just dont know if I'm fooling myself with this idea or not.
Cheers
Brian Cristopher
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 02-10-2009, 06:35 AM
Corporal
 
Join Date: Feb 2009
Posts: 12
Default Re: Faster Loading Of Pages....an idea/question!

I completely agree with you. visit this site here some explain about optimizing page load time.
http://www.die.net/musings/page_load_time/
__________________
New York Web design
Website design
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 04-14-2009, 09:31 PM
kortia's Avatar
Not for Hire
 
Join Date: Nov 2008
Location: Spring Texas
Posts: 133
Default Re: Faster Loading Of Pages....an idea/question!

holy complicated.

Ok here is a site I just built over the weekend with BV.


http://www.henna-hair.com

I have broad band (20mbps, super broad band is more like it) and it chunks a tad bit. It is heavy with buttons and I wonder if people with ISDN or dial up are having a hard time. Awstats will tell me soon enough if what kind of audience I have.

My question is, is there an easy way to compress the files on a page to load faster?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 07-28-2009, 03:51 PM
Nite Producer's Avatar
Lieutenant Colonel
 
Join Date: May 2006
Location: Saratoga, Central Coast
Posts: 601
Send a message via Skype™ to Nite Producer
Default Re: Faster Loading Of Pages....an idea/question!

There is a huge difference between building sites on a WYSIWYG software and an HTML/CSS editor or by hand.

I can't go through details, because that might breach the terms here, but all I can say is that using CSS is great, specially if your CSS is external and linked back to your page rather than embedded in the page itself.

At the moment you saved 20% on using CSS - BUT - it's still embedded in your page, you can save probably another 20% or MORE - if you externalize your CSS - which means:

open your page and go view > View Source

See those styles like div#container etc

They can be moved from there to a file called for example Styles.CSS and link it to your page, you'll be surprised how fast your page would load.

Because at the moment, the browser still needs to read all the code you've got in the page.
__________________
The Producer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 08-13-2009, 04:07 AM
Private
 
Join Date: Aug 2009
Posts: 3
Default Re: Faster Loading Of Pages....an idea/question!

Interesting thought, i completely agree with your perspective
comparatif simulation taux pret auto - taux pret auto differe selon la prise en compte ... calculent automatiquement le taux pour un pręt automobile donne.comparatif simulation taux pret auto
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 08-13-2009, 04:33 AM
Watdaflip's Avatar
Major General
 
Join Date: Sep 2005
Location: Cincinnati, Ohio
Posts: 2,151
Default Re: Faster Loading Of Pages....an idea/question!

Using a program like BV (or any html generator for that matter), you are going to have an increased load time because of all the extra html code that it will generate. You get a lot of repetative code on your page for things such as:

- Positioning of the element within the page
- Font attributes (size, color, face, etc)
- Duplicate or empty html tags due to the nature of using a WYSIWYG interface.

If you use CSS you can effectively remove any duplicate code for formatting text, reduce the amount of code needed to place elements, and make sure there are no empty or useless code within the document.

Also having external css files (which was mentioned before), will save load time as the browser can cache this file as it isn't going to change from page to page. Although having several external css or javascript files can slow the page load if you have too many as it takes more server requests if it needs to load them again.
__________________

Register/Login Script
Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 08-18-2009, 04:08 PM
Nite Producer's Avatar
Lieutenant Colonel
 
Join Date: May 2006
Location: Saratoga, Central Coast
Posts: 601
Send a message via Skype™ to Nite Producer
Default Re: Faster Loading Of Pages....an idea/question!

Here we go, now Watdaflip just confirmed what I wanted to say.

I just want to add a note to what has been said.

I built a site in a WYSIWYG Software, then copied the code and placed it into an HTML editor, when I viewed the page on a Design view, I saw that I have each single element in my website is contained withing a layer tag.

Do you know how heavy is that? inserting just one layer tag in your site can add a huge amount of time to loading your pages, so imagine when every single image, paragraph, title, symbol etc etc are contained each on its own layer tag.

Just do this test as I did and discover more :)
__________________
The Producer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old 08-18-2009, 08:57 PM
kortia's Avatar
Not for Hire
 
Join Date: Nov 2008
Location: Spring Texas
Posts: 133
Default Re: Faster Loading Of Pages....an idea/question!

When you have blue voda open just click on tools<page weight.
It will tell you when it is heavy or not. certain graphics are super fat.
__________________
www.rodharper.com (new)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old 08-19-2009, 11:23 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,049
Default Re: Faster Loading Of Pages....an idea/question!

Quote:
Originally Posted by Nite Producer View Post
There is a huge difference between building sites on a WYSIWYG software and an HTML/CSS editor or by hand.

I can't go through details, because that might breach the terms here, but all I can say is that using CSS is great, specially if your CSS is external and linked back to your page rather than embedded in the page itself.

At the moment you saved 20% on using CSS - BUT - it's still embedded in your page, you can save probably another 20% or MORE - if you externalize your CSS - which means:

open your page and go view > View Source

See those styles like div#container etc

They can be moved from there to a file called for example Styles.CSS and link it to your page, you'll be surprised how fast your page would load.

Because at the moment, the browser still needs to read all the code you've got in the page.
Please don't confuse the page weight (counting only the page code) with the total of code passed to the user browser.

When you have external css files, the ENTIRE css file is also loaded, so you gain NOTHING (on the contrary, you are adding some bits of code to call the external css).

Only when the css file is cached (IF your page code and your browsser settings are not made so the browser will look for the last version each time) you will have some result.

In BV's case, the extra code even in a rather "heavy" page rarely exceeds some KBs, so it is NOT the code that causes loading time to increase ( 2 - 3 KB of additional code are loaded in a fraction of a second, in my 20 MB ADSL it takes some milliseconds (usually it downloads at a real speed of 600 Mb)

If you have issues with page loading look at your images, optimize them, look at embedded mp3 files loadd, look at banners embedded from other sites etc. In most cases those (images first) are the reason.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old 08-19-2009, 11:27 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,049
Default Re: Faster Loading Of Pages....an idea/question!

Quote:
Originally Posted by Nite Producer View Post
Do you know how heavy is that? inserting just one layer tag in your site can add a huge amount of time to loading your pages, so imagine when every single image, paragraph, title, symbol etc etc are contained each on its own layer tag.
Each single <div> container, with all the stylling code related, takes approx 60 - 70 bytes.

If you have 50 objects in your page (rather rare in most cases) it's about 3.5 Kb.
Insignificant (unless you are on a VERY slow connection) regarding loadin time. Less than a small size image.

The advantage of external css is that you separate sontent from presentation, so you can concentrate on the content, then stylish your site as you like. Also you make less coding work (once you have coded your css file its there to use in all of your pages). Last but not least, with external css you can style an entire site changing only one file.

However, this is not the case of the average (or even advanced) USER in this forum. Most people don't even know how to hand code a simple page.

Other software (DW, EW) allow you to use css, but they are very costy and have a long learning curve.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 11:27 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203