This article is a mirror article of machine translation, please click here to jump to the original article.

View: 381|Reply: 0

[Website O&M] Discuz optimizes loading home.php?mod=misc&ac=sendmail&rand=1759095001

[Copy link]
Posted on 2025-9-29 08:59:11 | | | |
Looking at the nginx request logs, I see a large numberGET /home.php?mod=misc&ac=sendmail&rand=1759095001Request logs, browser opens also shows a blank page. This interface is also requested when visitors visit the homepage.



Previously, Bilibili detected that sendmail&rand slowed down the loading speed of the page, because it was not clear whether it would affect the system mailbox to send activation emails, and it was not easy to comment out this code.
After several delays, I just made up my mind to comment it out, and by the way, I sent a test email in the background, which can be successfully received without affecting the success of UCenter communication.

The solution, editing the template/default/common/footer.htm file, will:

The amendments are as follows:

Then, the cache is updated in the background.
Reference:The hyperlink login is visible.




Previous:.NET/C# uses WinDivert to capture packets and modify packets on Windows
Next:ETH Ethereum testnet Sepolia faucet acquires virtual currency
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com