| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Senior Member
Join Date: Dec 2006
Location: Switzerland
Posts: 276
|
CMS - static generation vs dynamic content
Hi, have recently started looking into generating content as static html rather than connecting to the database everytime and was wandering what opinions are on both ways of working ? If im not mistaken most CMS software (drupal, joomla, typo3) dont generate static content. My question would then be, for high traffic website or simply for large corporate level websites does this cause any problems ? (question would be for those that have experience with certain CMS's) thanks for any help provided |
|
|
|
|
|
#2 (permalink) |
|
Sir digby chicken caesar
Join Date: Sep 2004
Posts: 3,565
|
I'm pretty certain Drupal has static page caching - I'm sure something as heavy-duty as Typo3 would do as well. If you are building a potentially heavy traffic site then you would expect to be paying for a dedicated server, these CMS systems are designed to handle large scale sites, as long as the hardware is up to the job, something like Drupal or Typo should be as well. unconsolidated isoparms
|
|
|
|
#4 (permalink) |
|
Registered User
Join Date: Mar 2008
Posts: 19
|
For a larger websites a good CMS can make things easier. But it will be slower. I made benchmarks. I have created a website with typo3 (php) and my PC could serve 30pages per second (without images etc.). The same website in a static HTML version (the user does not see a difference) could be served by the same PC around 3000times per second which is an increase of 100x! Drupal is much faster than typo3, but a static HTML will be always faster. I programmed a simple CMS myself that creates static pages if possible which are then stored on the server. With this approach it is very fast, but also not as flexible as a normal CMS. |
|
|
|
#5 (permalink) |
|
Senior Member
Join Date: Dec 2006
Location: Switzerland
Posts: 276
|
thanks for the responses. Typo seems to be getting less attention as of late, I myself have looked into it, but having to learn their TypoScript is a downside for me. I am currently designing my own lightweight CMS, and will probably make use of both static and dynamically generated content depending on the type of site Im building with it. It makes sense that static content is faster, as there is no need to query. I imagine for high traffic websites, static content will helpful on the database workload. |
|
|
|
#6 (permalink) | |
|
Registered User
Join Date: Mar 2008
Posts: 19
|
Quote:
|
|
|
![]() |