Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



SEO Class in Chicago, IL

Learn How To Optimize Your Website on July 26, 2013


Looking for personalized in-depth SEO training among your peers?



High Rankings is offering a 1-day customized SEO training class in Chicago. Class size is limited so please sign-up now if you want in!



 


Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!



Photo
- - - - -

Style In Page, Or As Seperate File - Effect On Server Usage?


  • Please log in to reply
3 replies to this topic

#1 train99

train99

    HR 4

  • Active Members
  • PipPipPipPip
  • 156 posts

Posted 27 May 2007 - 03:46 AM

I am doing something this week that should get a bunch of visitors to a single page. I spoke with my server admin, and he suggested changing the page from a PHP to plain HTML in order to lower server usage.

I didn't think of the style sheet until this afternoon, and he's on vacation so I cannot ask him.

The style sheet is 5 lines. Right now it's an external file. Either way it won't effect my bandwidth, but will making the server hand off the style.css page to each visitor have much effect on server usage over a million page views?

I might be overestimating the demand, but I'm not that far off. I would rather be prepared, than have problems.

Thanks,
Terry



#2 Randy

Randy

    Convert Me!

  • Moderator
  • 17,540 posts

Posted 27 May 2007 - 08:53 AM

You're not looking at that much of a difference Terry. But you're right that having an external css file does cause an extra call for file retrieval at the server level.

I'm not at all sure it's going to make any difference one way or another with server load, but if it makes you feel better incorporating the css schtuff into your page code would be the way to go since you're talking about a single page.

#3 Clintorius

Clintorius

    HR 4

  • Active Members
  • PipPipPipPip
  • 210 posts

Posted 30 May 2007 - 02:13 AM

It is a bit more complicated because if the pageview is a immediate revisit from the same user the external stylesheet will not be loaded again because it is cached by the browser. For large stylesheets and a site with sticky pages this may be important.

C.

#4 OldWelshGuy

OldWelshGuy

    Work is Fun

  • Moderator
  • 4,713 posts
  • Location:Neath, South Wales, UK

Posted 30 May 2007 - 03:17 AM

Yep I agree that for a large CSS data amaount, external will speed up delivery and cut down bandwidth/datatransfer because of the local cache.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users