Notice: The cache has been cleared before recording the HTTP protocol.
This is a HTTP protocol of the HTTP Watch Addon for Firefox : http://www.mediafire.com/view/?wccimru3qdu19s2#
The HTTP load is around 5 seconds
.
The status code is 200 OK
.
To load the assets
folder into the cache
Firefox does not do the GET
request just on the first time of rendering the web application - it also does it repeatedly on every page load, so that every page rendering becomes too slow.
Is there something specific in Webrick, Ruby, or Rails , which may cause Firefox to do the repeated GET
request?
The HTTP load takes around 5 seconds
on the first time rendering of the web application, so the assets
folder can be loaded in the cache
of Firefox - are there procedures to increase the load speed?
Installing the rails-dev-tweaks
has increased the speed time from around 5 seconds
to around 2.5 seconds
. Where, by now, the repeated GET
request is still a persisting problem, which means that around 2.5 seconds
for each page load is still too slow.
Add
rails-dev-tweaks
https://github.com/wavii/rails-dev-tweaks
to your Gemfile for 'development' environment...
Currently the issue should only be in dev env., in production it should be working fine already
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.