[Note] When the page access speed does not increase

About this article

Here is a summary of what to do if you anticipate that the following critical chain is delaying page loading when measuring with PageSpeed Insights. (As of October 29, 2020) スクリーンショット 2020-10-24 20.32.39.png

Describe preload and cross origin in html file

By doing this, I settled down the loading speed.

Reference site https://developer.mozilla.org/ja/docs/Web/HTML/Preloading_content https://developer.mozilla.org/ja/docs/Web/HTML/Attributes/crossorigin

ruby:application.html.erb


<link rel=”preload” as=”font” type=”font/woff2” href=”http://Domain or IP of your site/assets/bootstrap/glyphicons-halflings-regular-fe185d11a49676890d47bb783312a0cda5a44c4039214094e7957b4c040ef11c.woff2” crossorigin>
<link rel=”preload” as=”font” type=”font/woff” href=”http://Domain or IP of your site/assets/bootstrap/glyphicons-halflings-regular-a26394f7ede100ca118eff2eda08596275a9839b959c226e15439557a5a80742.woff” crossorigin>
<link rel=”preload” as=”font” type=”font/ttf” href=”http://Domain or IP of your site/assets/bootstrap/glyphicons-halflings-regular-e395044093757d82afcb138957d06a1ea9361bdcf0b442d06a18a8051af57456.ttf” crossorigin>
<%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>

that's all

Recommended Posts

[Note] When the page access speed does not increase
Does not recognize the library when implementing jcaptcha
When the server does not start with rails s
How to get the log when install4j does not start
When the form such as Select of Materialize does not work properly
[NetBeans] Story when it does not start
What to do when rails db: seed does not reflect in the database
[Grails] Error occurred running What to do when the Grails CLI does not start
About the speed when fetching values from HashMap
[Note] Java: Measures the speed of string concatenation
A note when the heroku command becomes unavailable
Does the escape sequence (\) not work? (for Mac)
When @Transactional of Spring Boot does not work
Do not give jsessionid at the first access
Final confirmation when ruby version does not switch
When the project is not displayed in eclipse
[Railways] Railways does not work when the RubyMine project root is other than the Rails root directory.
Processing when an ID that does not exist in the database is entered in the URL
The story when the container does not start up with docker-compose up and an error occurs
"Do not show again" check does not work in the warning dialog when starting applet