Hongmu Notes
Home Program Notes There are too many articles in Empire CMS and the backend is stuck like a dog. How to solve it?
Program Notes Empire cms

There are too many articles in Empire CMS and the backend is stuck like a dog. How to solve it?

There are too many articles in Empire CMS and the backend is stuck like a dog. How to solve it?

There are millions of articles in Empire recently, so I loaded the page in the background and found that it was very laggy.

Almost all pages would freeze, so I checked the problem.

The main reason is that there is a loading file for page refresh in Empire. When there are too many articles, loading the PHP file for page refresh will be very slow.

The solution is to find the file that the page refreshes, and then solve it. The main reason is that after I solved the problem, I forgot to record the file name. Now I look for it again, and I can’t find it. However, the backend of the website is not stuck and it is flying...

 

微信赞赏

WeChat

支付宝赞赏

Alipay

✍️ Author: Hong Mu

webmaster · Thanks for reading, stay tuned for more exciting content

Author homepage View home page →

Related articles

Empire CMS database statement & SQL statement format

Empire CMS database statement & SQL statement format Program Notes Empire cms

Introduction to Imperial CMS extended SQL program writing, basic examples of Imperial CMS database statements & SQL statement formats: Note: The following examples are based on placing PHP files in the system root directory. Example 1: Connect to MYSQL program. (a.php)<?php require('e/class/connect.php'); //Introduce database configuration files and public function files requ…
👁 351
Empire CMS obtains the system COOKIE variable function getcvar()

Empire CMS obtains the system COOKIE variable function getcvar() Program Notes Empire cms

Get the system COOKIE variable function syntax: getcvar($var,$ecms) Description: $var: is the variable name $ecms: 0 is to set the foreground COOKIE variable, 1 is to set the background COOKIE variable. This parameter can be omitted and defaults to 0. Usage example: getcvar('mlusername'), get the user name of the front-end login member getcvar('loginu...
👁 295
Empire CMS smart label call field collection

Empire CMS smart label call field collection Program Notes Empire cms

Collect and classify all fields that support smart tag calls into Empire CMS smart tags: [e:loop={column ID/topic ID, number of items displayed, operation type, only display pictures with titles, additional SQL conditions, display sorting}] Template code content [/e:loop] Calling time: <?=date('m-d',$bqr[newstime])?> <?=dat…
👁 3749

Recommended reading

(Adaptive mobile version) Mechanical Equipment Website Template – Industrial Product Website Source Code Download – 0976

(Adaptive mobile version) Mechanical Equipment Website Template – Industrial Product Website Source Code Download – 0976 Practical Collection pbootcms Template

A PbootCMS website template designed for mechanical equipment and industrial products, compatible with both PC and WAP devices. Its professional industrial design makes it ideal for machinery manufacturing companies to showcase their product ranges. This template helps mechanical companies establish an online brand presence and attract industrial customers. Template Display | Installation Instructions | Website Backend: /admin.php | Username: admin | Password: admin | Extraction Password: www.4s5.cn | Related Articles...
👁 69
MySQL database table field replication

MySQL database table field replication Language Notes mySql

Replicating fields across different tables: Use the JOIN operation in an SQL query to copy the value from Field 1 to Field 2. For example, suppose you have two tables – table1 and table2 – where table1 contains the fields field1 and field2, and table2 also contains the fields field1 and field2. You can use the following SQL query...
👁 241
(Adaptive mobile version) Responsive home appliance repair website template – Download source code for appliance repair websites – 0977

(Adaptive mobile version) Responsive home appliance repair website template – Download source code for appliance repair websites – 0977 Practical Collection pbootcms Template

A responsive PbootCMS website template designed for home appliance and electronics repair services, compatible with both PC and WAP devices. Its professional and practical design makes it ideal for home appliance and electronics repair service providers to showcase their business offerings online and attract local customers. Template Overview | Installation Instructions | Website Backend: /admin.php | Username: admin | Password: admin | Extraction Password: www.4s5.cn...
👁 37
PHP: Delete files with a specified file extension from a given directory.

PHP: Delete files with a specified file extension from a given directory. Language Notes PHP

You can use PHP's `glob` function to match file names within a specified directory and then use the `unlink` function to delete them. The specific steps are as follows: Use the `glob` function to match the file names in the specified directory and store them in an array; the code is as follows: `$files = glob(' /path/to/dir/*.txt');` where `/path/to/dir` refers to the directory you wish to operate on...
👁 239
(Adaptive Mobile Version) Foreign Trade Website Template for Tableware and Household Goods – Includes Download Function – 0978

(Adaptive Mobile Version) Foreign Trade Website Template for Tableware and Household Goods – Includes Download Function – 0978 Practical Collection pbootcms Template

A PbootCMS website template designed for export-oriented tableware and household goods businesses, supporting both PC and WAP devices with a download function. The professional and practical design is ideal for showcasing products and highlighting export advantages for companies in these industries. This template helps foreign trade firms present their brands online and expand into overseas markets. Template Display | Installation Instructions | Website Backend: /admin.php | Username: admin | Password: admin | Extraction Password: www.4s5.c...
👁 44