Page Speed Test  

Got some great idea or a feature request? Post it here and discuss it.
no avatar
MtRoxx
Member
 
Topic author
Posts: 20
Likes: 1 post
Liked in: 3 posts
Joined: Fri Aug 05, 2016 5:25 pm
Info

Page Speed Test

by MtRoxx » Wed Apr 04, 2018 8:43 pm

It would be very nice if the base code created by panotour pro was optimized for the Google's page speed test: https://developers.google.com/speed/pagespeed/insights/

no avatar
benji33
Kolor Team
 
Posts: 5848
Likes: 92 posts
Liked in: 199 posts
Joined: Tue Apr 09, 2013 10:59 am
Location: France
Info

Re: Page Speed Test

by benji33 » Thu Apr 19, 2018 10:37 am

The only speed gain possible is to minified the JavaScript methods into the HTML file for just a few octets gain.

The speed issue is the requirement of 2 JavaScript libraries. The first one is the YourTour.js file which contains the krpano viewer required for rendering. The second one can be if required by plugins the jQuery library.

Have you noticed others possible optimizations?
Benjamin

no avatar
MtRoxx
Member
 
Topic author
Posts: 20
Likes: 1 post
Liked in: 3 posts
Joined: Fri Aug 05, 2016 5:25 pm
Info

Re: Page Speed Test

by MtRoxx » Thu Apr 19, 2018 2:38 pm

Here is the line from the page speed test that I am wondering about.

Your page has 6 blocking script resources and 6 blocking CSS resources. This causes a delay in rendering your page.
None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.

Is it possible to break the required js to needed to run the code into separate js files or add it in line as suggested? Consider loading the smaller js for the requirements and a second one for actions needed for the jQuery later in the tour? All they are focusing on is the load - once it is loaded they do not care.

no avatar
benji33
Kolor Team
 
Posts: 5848
Likes: 92 posts
Liked in: 199 posts
Joined: Tue Apr 09, 2013 10:59 am
Location: France
Info

Re: Page Speed Test

by benji33 » Thu Apr 19, 2018 3:27 pm

It will be possible but need a redesign of the css/js bundle into the generation script depending of the selected plugins.
So I understand your request and add it into the task list but it's a low priority task for us as the gain will be for less than few milliseconds (depending of the server serving speed).
Benjamin


Who is online

Users browsing this forum: No registered users and 4 guests

cron