Forum for discussing general topics related to Couch.
4 posts Page 1 of 1
Hi there,

I've never used CouchCMS, I was wondering what kind of impact the CMS has on page size? I've tried looking for a solid figure of the CMS file weight but can't find it anywhere.

Cheers
Hi, regularly a CMS handles .php files, filled with code of this CMS. Then it takes the code and generates pure html out of it. So, the rule is that whatever comes as a static html source - gets out as about the same size of html page. The only difference is that the content between html tags is no longer static, but dynamically inserted by CMS.
Hope it's what you asked about.

Feel free to use skype chat( link below )for anything related :)
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
Hi Trendoman,

Does each dynamic element generate a page request?

I'm a speed freak; my sites are measured in kbs rather mbs - jQuery is considered a weighty luxury never to be touched.

CouchCMS looks fantastic, I'll be jumping on it regardless! :D
Hi again, all generation occurs on the server side( i.e. with local files on the hosting ), before anything is sent to the user's browser. :) So, once html is completely generated (with all content ) - it is sent to the user and browser therefore had only one request to get that page.

After parsing of html browser may send additional requests for external sources - images, scripts, css files etc. - this will have nothing to do with CMS, but your html design defines it. Also Couch can help embed( include ) all external sources into the resulting html, reducing requests to server( effective with css, js ) which is very effective as you also mentioned it. This is done with cms:embed tag. http://docs.couchcms.com/tags-reference/embed.html

And also CMS can convert images to base64 encoded variants, that are sent as text inside the html, again reducing total number of requests to server, since images are preloaded and browser is quick to decode them from a given string. More here viewtopic.php?f=3&t=9663&p=25808&hilit=base64#p25808
It is possible then to have only 1 request for a page, which is absolutely amazing in terms of speed( if images are small ).
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
4 posts Page 1 of 1