如何解决 Boostrap 在本地主机上速度很慢的问题?
我在使用 Boostrap 时遇到了一些麻烦。在本地主机上加载需要 5 秒。但不是每次都会。也许有三分之一次。 我从我的文件夹导入文件。 我使用 Chrome,但使用 Safari 时效果是一样的。
当我使用CDN时,没有问题并且加载速度很快...... 我的其他文件加载速度非常快。 非常厉害的是,他慢的时候每次加载都需要5.0秒。
我精确地说,我停用了缓存,显然当启用缓存时,没有问题。
我使用 Homebrew aa 服务器上的 httpd。
这是一些屏幕截图
有人知道我能做些什么来变得更快吗?我非常不知道从哪里开始...
感谢帮助
P.S.抱歉,我的英语不太好,
我尝试使用 XAMPP 和他的 apache,但它们是相同的东西。
I have some trouble with Boostrap . It take 5,0s to load on localhost. But not everytime. Maybe 1 / 3 times.
I import the file from my folder.
I use Chrome but with safari its the same things.
When i use the CDN, there is no problem and the load is fast...
My others files load very fast.
What is very strenge, it take exactly 5,0s to load every time when he is slow.
I precise i desactive the cache, obviously when the cache is enable, there is no problem.
I use httpd from Homebrew a a server.
here are some screenshots
Someone know what i can do to get faster ? I very dont know where to start...
thanks to help
P.S. sorry my english is not nice
I try using using XAMPP and his apache but its the same things.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论