原因剖析:
打开 F12 我们看一下是哪些资源在拖后腿,果不其然,我们看到 load-styles.php 和 load-script.php 这俩文件耗费了大几十秒!就是你,病因所在。
?...我们来看看这俩文件都干了什么导致这么慢?...c=0&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable...wp-plupload,mediaelement-core,mediaelement-migrate,wp-mediaelement,wp-api-req&load%5B%5D=uest,media-views,jquery-ui-draggable...,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker&ver=5.2.1
这个链接在一起的 js 每次点击后台菜单或选项都会重新加载以便而不是从缓存中读取