How to deal with the cache in the Dreamweaver column that causes the number of newly published articles and paging to be out of sync?
Just now Building a website requires filling in a lot of data. I found that the newly added data was not synchronized to the column article pagination in real time.
Recommended study:梦Weavercms
As shown in the picture:
Picture 2:
The pagination is not correct. After checking, it will take 1 hour to automatically process due to caching issues. It can be restored to normal, or you can manually clear all the files in the data cache using ftp. If you don’t want to clean it manually every time, you can change the file so that it does not need to be cached.
Use an editing tool to open /dede/ content_list.php Find about 104 lines, change
if (empty($arr))
to
if (true || empty($arr))
and save it. .
The above is the detailed content of How to deal with the cache in the Dreamweaver column that causes the number of newly published articles and pagination to be out of sync?. For more information, please follow other related articles on the PHP Chinese website!