On the problem that the code can not take effect in time after modification

Time:2020-11-25

Today, after the modified code is uploaded to the server via FTP, even if the cache is deleted, it still doesn’t take effect, with a delay of about 10 seconds. After research, it is found that the reason is that PHP starts the opcache extension, and the deletion of this extension takes effect immediately. It is hereby recorded

This work adoptsCC agreementThe author and the link to this article must be indicated in the reprint