Visual Designer allows you to edit your website template without writing any code. You can easily edit different sections of the template with a simple click. Not only that, but you can also instantly preview the changes that you have made in the template. Simply click on a specific section of your template (i.e., Header, Footer, Menu, Featured Section, Logo) to change its color (Background/Foreground), layout, style, etc. After making all the changes, you need to save and publish the template.
When you click on the “Publish” button to publish the changes, it takes approximately 7 to 11 minutes to reflect the changes on the website. This is because we are using Angular 8 to build the frontend. Angular 8 takes time to compile the entire template code and execute different processes during publishing the template. Which makes the template source code robust and also enhances the website performance.
Why Publishing Takes Time
Once you made the necessary changes in the template using the Visual Designer and then click on “Save” and then “Publish”, we do a lot of things to achieve the changes on the frontend website. The entire template code is compiled and the following process is executed when you click on the “Publish” button.
Benefits of Pre-Compiled Templates
Even though the entire process and the compilation of the template code take time during the publishing procedure, it has the following advantages.
- It is much faster, as we are writing the changes into the file system.
- It is more secure, as the template source code is encoded, minified. Hence, it’s very difficult to be hacked.
- The template source code can be easily moved to any other server and run from there.