javascript - Laravel 网站闪烁并加载半页而不是整页
问题描述
编辑
Shailendra解决的问题
但如果你看到盒子没有。11 年 9 月 10 日在完整网站之前加载了一些灰色的东西,那是什么?
我正在开发一个 laravel 项目(测试网站)
https://whoisdatabox.com/
该网页在没有 CSS 的情况下加载第一个页面,然后加载完整
在此之前,我在(现场网站)工作
https://whoisdatacenter.com/
(对我来说很好)
这就像我的网站只缓存 .blade.PHP 文件而不是 CSS,还是我在做其他错误?
即我没有进入哪个文件我犯了错误
我检查了过去 48 小时内我在测试网站上更新的文件
find . -mtime -2 -ls | grep -v "framework\|session"
3526181 4 -rw-r--r-- 1 whoisbox whoisbox 901 Apr 8 14:28 ./.env
15276161 4 drwxr-xr-x 3 whoisbox whoisbox 4096 Apr 8 15:07 ./resources/views
15276062 44 -rw-r--r-- 1 whoisbox whoisbox 44090 Apr 7 20:01 ./resources/views/home.blade.php
15276025 8 -rw-r--r-- 1 whoisbox whoisbox 4668 Apr 7 20:01 ./resources/views/free.blade.php
15276183 4 drwxr-xr-x 2 whoisbox whoisbox 4096 Apr 8 16:49 ./resources/views/layout
15276096 4 -rw-r--r-- 1 whoisbox whoisbox 490 Apr 8 16:49 ./resources/views/layout/default.blade.php
15276095 4 -rw-r--r-- 1 whoisbox whoisbox 1549 Apr 8 16:49 ./resources/views/layout/head.blade.php
15276042 4 -rw-r--r-- 1 whoisbox whoisbox 3752 Apr 7 20:01 ./resources/views/layout/nav-main.blade.php
15276044 4 -rw-r--r-- 1 whoisbox whoisbox 133 Apr 7 20:01 ./resources/views/layout/footer-script.blade.php
15276186 4 -rw-r--r-- 1 whoisbox whoisbox 2861 Apr 7 17:07 ./resources/views/layout/default.blade.php.zip
15276046 4 -rw-r--r-- 1 whoisbox whoisbox 1084 Apr 7 20:01 ./resources/views/layout/footer.blade.php
15276008 4 -rw-r--r-- 1 whoisbox whoisbox 733 Apr 7 23:56 ./resources/views/layout/head.blade.php.zip
4308654 4 drwxr-xr-x 2 whoisbox whoisbox 4096 Apr 7 16:45 ./routes
4310368 8 -rw-r--r-- 1 whoisbox whoisbox 4726 Apr 7 16:45 ./routes/web.php
7442463 4 drwxr-xr-x 2 whoisbox whoisbox 4096 Apr 8 16:28 ./app/Http/Controllers
7442207 12 -rw-r--r-- 1 whoisbox whoisbox 8990 Apr 8 16:23 ./app/Http/Controllers/sql.php
7442203 28 -rw-r--r-- 1 whoisbox whoisbox 28500 Apr 8 16:28 ./app/Http/Controllers/TableController.php
我检查了谷歌页面速度测试。它向我展示了相同的...
分数是 90%,但屏幕截图中也有闪烁...
解决方案
推荐阅读
- css - 我使用角度响应轮播库。但我不能改变箭头设计和圆点设计
- linux - 紧凑的 shellcode 打印一个寄存器指向的以 0 结尾的字符串,给定 puts 或 printf 在已知的绝对地址?
- android - 无法在本机反应中解析配置“:classpath”的所有工件
- python - 在 Zapier 用 python 读取 html 文件
- android - 如何使用 kotlin 在 android 中添加 http 日志拦截器和另一个拦截器?
- android - 如何解决 Xamarin.Android 的目标框架错误
- reactjs - sendKeys 方法不适用于反应页面
- javascript - luxon 遇到问题,计算两个日期之间的时间差
- html - 如何在html标签中调用python函数
- git - 如何将master移动到git中的当前头部?