Static page caching

📅 November 21, 2026 👁️ 1

Static page caching

Static page caching is used to cache the home page, list page, and detail page as static files, to accelerate access speed, and to support pushing to a static site server.

Entry Path

Top menu of the background → Function → System Function → Static Page Cache. Actual address:/system/plugin/system/htmlcacherequires administrative privileges(canAdmin)

Function description

The page can set the total cache switch, home/list/detail cache time, static website server and static website address, and provide generation and push operations.

Screenshot of the interface

Static page caching

Setting item description

Setting items function Value / Default How to select / Fill in suggestions Impact / Note
Whether to enable static page cache Cache switch radio: Off (default) / On [实测] Turn on when there is a large amount of traffic and infrequent updates The following cache settings will not take effect after turning off
Home page cache time Home page cache seconds Number, measured 300 seconds [measured]; 0 means no cache Home page update few can be set 300-3600 —
List cache time List page cache seconds Number, measured 3600 seconds [measured]; 0 means no cache List update medium set 3600 —
Detail cache time Detail page cache seconds Number, measured 86400 seconds [measured]; 0 means no cache Detail almost unchanged can be set 86400 —
Static website server Static file push target Single choice of 9 items: Off (default, tested) / Alibaba Cloud / Tencent Cloud / Qiniu Cloud / UCloud / Google Cloud / Amazon S3 / FTP / SFTP [Source code + tested] Select when you need a pure static site Non-VIP cannot be selected; no local options
Static website address Static site access address Text, No Default [Source Code] Fill in the static site domain —

Detailed explanation of configuration items

Impact of static website mode

Condition for occurrence[Source code] when the static website server is not 'Off'.

After enabling the static website, functions that require submitting data to the background, such as search, messages, comments, and 301 redirects, will all be disabled, and the website will degrade to a pure display [source code + i18n].

Prerequisites: It requires an adaptive template and must be enabled before static page caching.

Consequences of filling in incorrectly: Mistakenly enabling it will cause all interactive functions to be unavailable.

Manually generate cache

Condition for occurrenceAlways display [source code].

Provide operations such as 'Clear all cache' and 'Manually generate all cache/home/column/document/tag cache' [source code].

NoteAdjust the template, modify the global/content/contact/navigation settings, and modify the pseudo-static rules after, static pages will not be automatically regenerated, and must be manually generated [source+i18n]. 'Clear all caches' only clears the local cache on the server, and cannot clear the static server files [source].

Operation steps

  1. Enter 'Function → System Function → Static Page Cache.'
  2. Enable caching and set the cache time for various pages.
  3. Click 'Submit' to save.
  4. Use 'Generate Operation' to manually generate the cache or 'Clear All Caches'.
  5. Configure the server and execute the push when a static site is needed.

Operation steps

  1. Enter 'Function → System Function → Static Page Cache.'
  2. Enable caching and set the cache time for various pages.
  3. Click 'Submit' to save.
  4. Use 'Generate Operation' to manually generate the cache or 'Clear All Caches'.
  5. Configure the server and execute the push when a static site is needed.

Applicable scenarios and suggestions

  • Sites with high traffic and infrequent content updates are suitable for enabling caching.
  • Support for generating operations can be performed separately for the homepage, column, document, and tag, which is convenient for local updates.

Points to note

  • After enabling the static website, functions that require data submission such as search, comments, comments, and 301 redirects will be disabled, and the site will only have display capabilities.
  • After modifying the template, global settings, content settings, navigation, and pseudo-static rules, static pages will not be generated automatically, and they need to be manually regenerated.
  • Static websites need to adapt to the template and must enable static page caching first.

Related documents

Related articles

Full-text Search

Full-text search is used to make the front-end search cover the document body, categories, and tags, not just the title. The page itself is a conditional联动 multiple configuration form, and after it is enabled, the engine needs to be selected and the index range needs to be configured.

2026-11-21

Friend Links Management

Friend link management is used to maintain links to other sites from this site and provides a friend link API for third-party access.

2026-11-21

Verify file upload

File upload verification is used to upload domain ownership verification files, which are provided for search engines or third-party platforms to verify site ownership.

2026-11-21

Backup and restore

Backup and recovery are used to create site backups, download backup files, restore from backups, and clear website data.

2026-11-21

Prevent collection interference code

To prevent data collection interference, random content can be injected into the page or interactions can be disabled to increase the difficulty of data collection.

2026-11-21

Website security protection

Website security protection is achieved through frequency limits, IP whitelist and blacklist, UA checks, and memory threshold to intercept abnormal access.

2026-11-21

301 Redirect Management

301 Redirect Management is used to configure redirection from old links to new links, often used to retain SEO weight after a revamp.

2026-11-21

Replace site-wide

Full-site replacement is used to batch replace the specified text in multiple types of data, supporting plain text and regular expressions.

2026-11-21