Rendering rules

2018-12-26 05:30:03

Rendering timing

To balance rendering performance, two rendering timings are provided: one-time build, article separately rendering.

One-time build

In the CMS configuration page, click the Build botton to render and output all files in the site one-time.

Ariticle seperately rendering

When an article is published, the article and the pages associated with are rendered in real time.

SEO

There are three SEO files: robots.txt, sitemapindex.xml and sitemap.xml.

SEO files are all output at one time during build.

sitemapindex.xml contains sitemap.xml in different languages, one language corresponds to a sitemap.xml file respectively.

The content of sitemap.xml will be modified when the article is separately rendering.

Directory, Label, Search

There is no need to render the article list in the directory, tag, search, etc., since the site map file is used and all articles have been rendered as static files. We could just call the backend API through ajax when needed to get the list and dynamicly display.

CMS, Theme, Plugin

The module a-cms only provides the basic rendering mechanism and rendering skeleton. The specific page layout, elements, and functions are implemented by a combination of themes and plugins. This mode enables us for rapid deployment and fully releases the scalability and flexibility of CMS.

Cabloy-CMS currently offers the following theme modules: cms-themeblog, cms-themeaws, cms-themedocs and the following plugin modules: cms-pluginbase, cms-pluginarticle, cms-pluginsidebar, cms-pluginmarkdowngithub, cms-plugintrack. These modules implement a full-featured blog site, a series of themes and plugins will contiunue to be launched in the future.

You can freely combine themes and plugins, and even implement your own themes and plugins to present completely different site effects.

Ecology and contribution

Hope you can share your wisdom and achievements and to join the ecology of Cabloy.



Comments: