Does clicking 'Save' in the AnQiCMS backend after modifying system settings or content settings equivalent to 'Save and Exit' at the file level and take effect immediately?
As an experienced CMS website operation personnel of a security company, I know that an accurate understanding of system behavior is crucial for efficient operation when performing operations in the background.About the question you raised, 'After modifying the system settings or content settings on the AnQiCMS backend, clicking 'Save' is equivalent to 'Save and Exit' at the file level and take effect immediately?This issue can be explored in detail from several perspectives.
In the daily operation of Anqi CMS, the "Save" button on the backend usually performs the operation of writing data to the database.Whether it is updating the content of an article, adjusting the description of a category, or modifying the global website name, contact information, and other information, the essence of these operations is to update the latest data to the database that the system relies on.This is an internal data update process, which is fundamentally different from directly modifying files on the server (such as modifying template files or configuration files).
Therefore, simply clicking the "Save" button does not equate to the file-level "Save and Exit". File-level modifications, such as directly editing the server onconfig.jsonConfiguration file (used to define ports and other core parameters), or directly modify the location located at/templateUnder the directory.htmlTemplate file, these operations bypass the background management interface and directly change the server file system.This type of file-level modification, especially the modification of core configuration files, often requires the AnQiCMS service to be restarted to take full effect, as the system loads these configurations upon startup.The 'save' operation on the back-end mainly serves to update the business data and system parameters in the database.
Regarding the issue of the modified To ensure the efficient operation and response speed of the website, AnQi CMS will widely use caching technology.This means that even if you successfully save new content or settings in the background, these changes may not be immediately reflected on the website's front end.The page accessed by the front-end user may still be an old cached version.In this case, the "update cache" feature explicitly mentioned in the document is particularly crucial.After you complete the "Save" operation on the background, in order to ensure that the front-end can display the latest content or settings in real time, you usually need to manually click the "Update Cache" button on the background, or wait for the system to automatically clear the cache.After the cache is cleared and regenerated, the front-end page will load and display the latest data.
So, we can conclude that the 'save' operation on the AnQiCMS backend is mainly to persist data to the database.It is not a file-level "save and exit", and its effective time on the front desk will be affected by the system cache mechanism.For most content and setting modifications, after completing “Save”, you still need to perform the “Update Cache” operation to take effect immediately.For a few core configuration files (such asconfig.jsonThe modification requires a deeper level of service operation (such as restarting the AnQiCMS service) for the changes to take effect.
Frequently Asked Questions (FAQ)
1. I have modified the website name in the background and saved it, why is the old name still displayed on the front end?
This is likely because the cache on the front end of the website has not been updated.AnQiCMS to improve access speed, it will cache some page data.After you modify and save the settings, you need to go to the "Update Cache" area of the admin interface, manually clear and update the cache, or wait for the system to automatically clear the cache, the latest website name will be displayed on the front page.
2. Does the 'Save' operation in the Anqi CMS backend modify the files on the server?
For most content (such as articles, pages, categories, system settings, contact information, etc.), the "Save" operation will only write data to the AnQiCMS database and will not directly modify the files on the server.Only when you use specific features provided by the backend, such as the online template editing feature, will the template file on the server be directly modified.Core configuration file (such asconfig.jsonThe modification is usually performed directly on the server, rather than through the 'Save' button in the background.
3. Changed.config.jsonAfter the port number in the file, do you need to click the "Update Cache" button on the background to take effect?
Changeconfig.jsonParameters (such as port numbers) in the core configuration file belong to basic configuration, and such modifications are usually not affected by the AnQiCMS background cache mechanism.These changes require the AnQiCMS service to reload the configuration file to take effect, which means you need to restart the AnQiCMS service instead of just clicking "Update Cache".The 'Update Cache' mainly targets the contents and settings that can be dynamically displayed by the front-end in the database.