Static Settings

2018-07-31 09:25:32    Jon    7733

Zsite has static extensions. Generate .html files through the website and users can visit those files directly when visiting the website, which increases the access speed and reduces the server load.


Go to Zsite backend->Platform->Extension to install static extensions, and go to Zsite backend->SET->Static Settings to switch on the Static and generate .html files.


Zsite static deployment:

1. Static can be deployed in local/remote servers.

2. If it is deployed to a local server, the privilege to write has to be developed for www. Static files will be generated in the directory of www.

3. If it is deployed in a remote server, static files will be generated in system/tmp/www. Download the files as a package and then upload it to your server.


It is recommended that you choose to deploy it on a remote server.


Advantages of static:

1.  Static pages save the time to read the database, so the speed of loading the page and responding is increased.

2. It is also for SEO. Compared to dynamic pages, search engines prefer static pages. It is easier to fetch the information and to improve its ranking.

3. Website is more stable, using static. Static pages will not be affected by bad programs.


How to use Zsite static extension

Zend Guarder Loader is required to use Zsite static extension. Refer to 4.4

1. Download static extensions and get a static.zip file.

Click HERE to download it.


2. Go to Platform->Extension->Local Install, and upload the file.

SCREENSHOT


3. Start to install the extension

SCREENSHOT


4. If the installation is done, you will see it in Platform->Extension->Installed.

SCREENSHOT


Note:

1. Go to SET->Site->Static Setting to switch it on/off. Click Create Static File to generate the .zip file


2. If it is deployed to a local server, the privilege to write has to be developed for www. Static files will be generated in the directory of www.

3. If it is deployed in a remote server, static files will be generated in system/tmp/www. Download the files as a package and then upload it to your server.




SCREENSHOT






ZSite8.0