Web Hosting Talk







View Full Version : CSS Site Pages Vs CMS Pages


Akasha
02-08-2005, 09:00 AM
Not sure if the title really explains my question, but couldn't think of any other way to put it heh.

Currently, my websites consists of a CMS (e107) and a forum (phpBB). Currently I have guides and walk throughs that are on the CMS content page, which after the recently knowledge of my site being dymanic, and that causing issues with too much CPU / mySQL usage, decided to see if I could change that.

Basically what I have done, is made a page that uses a CSS file to make it look like my forum, but it's really just html. What I am thinking is, if this uses less (or even better, no) resources like CPU and Memory, then it might make my site more friendly to hosts.

I'm hoping to stay away from Dedicated hosting as long as possible ($$$ wise), but as my site is currently, I'm not suited for full shared hosting because of the resources it uses. I was told html uses only bandwidth, which I have hosts saying they have no issues with me using what I pay for, but understandably I can't be bogging down the system.

Do CSS's use system resources every time someone views they page? or are they static?

Corey Bryant
02-08-2005, 12:45 PM
A style sheet - if it is an external style sheet, is loaded & usually placed in the user's temporary internet cache. Make sure that you did use the correct coding (http://www.w3schools.com/css/) for your style sheet. It is somewhat HTML, but a bit different.

Using a CMS - you are more than likely creating pages on your website, which is pulled from a database. Every link clicked on your site, will be pulled from the database, causing some CPU resources.

Lars-Christian
02-08-2005, 02:44 PM
Be sure you have server side cache enabled, because that helps a lot on the load, and I do believe e107 supports it.

And generally I'd say that if a CMS is possible to use, then for God's sake, use it. It has so many advantages as opposed to just a flat file system.

Akasha
02-08-2005, 08:23 PM
Thankyou coreybryant, that's pretty much what I thought (that it was cached). I'm pretty sure the CSS is correct as it's the exact one I use for my forum, ie I didn't correct it.

@Lars-Christian - I probably didn't explain it all properly, but the reason I am doing the CSS files is to pull away from e107 as that is the reason my hosting company booted me off the shared server - uses too many resources (yes it is cache enabled). While it does have advatages, yes, my site isn't large and doesn't use 90% of them.

Thankyou again coreybryant.

djcubez
02-09-2005, 06:05 PM
As far as I know e107 has a built in forum, why not use that?

Akasha
02-09-2005, 08:33 PM
Because I don't want to....