Tp framework intranet access is fast and the internet is slow. how can this problem be solved?
Source: Internet
Author: User
Tp framework intranet access is fast, the internet is slow, the tp framework intranet access is fast, the internet is slow APP_DEBUG = & gt; falseDB_FIELD_CACHE = & gt; trueHTML_CACHE_ON = & gt; true. when the debug mode is disabled and switched on, the access to the web page is still slow. The intranet access to the tp framework is fast, and the Internet access is slow.
Tp framework intranet access is fast, and the internet is slow
APP_DEBUG => false
DB_FIELD_CACHE => true
HTML_CACHE_ON => true.
When the debug mode is disabled and switched on, it is still slow to access the web page. it takes 5-6 seconds to open (non-space speed is slow)
Http://hf711.com/crm_new/index.php
Please advise thinkphp to share with us: falseDB_FIELD_CACHE => trueHTML_CACHE_ON => true. disable the debugging mode and enable the switch. access the network... 'data-pics = ''>
------ Solution --------------------
Have you deleted the _ runtime directory cache?
------ Solution --------------------
Check whether there is any js warning or error on the webpage. use the chrome developer tool to test the time spent on the website.
------ Solution --------------------
Server Error. open the error.
The code is incorrect.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service