Project

General

Profile

Actions

Task #7669

open

Optimize client rendering time

Added by Jakub Maloštik 10 months ago. Updated 9 months ago.

Status:
Deferred
Priority:
Normal
Category:
Development - GUI
Target version:
Start date:
08/03/2023
Due date:
% Done:

0%

Estimated time:
To be discussed:
No

Description

The page loading is too slow, and the asset loading is non-optimal. Required javascript is being loaded sequentially and blocks the site rendering while being downloaded.


Related issues

Related to Mentat - Task #4494: Redesign JS portion of the Hawat web interfaceNew01/08/2019

Actions
Actions #1

Updated by Rajmund Hruška 9 months ago

  • Related to Task #4494: Redesign JS portion of the Hawat web interface added
Actions #2

Updated by Jakub Maloštik 9 months ago

Due to the fluctuation in server response times, I find it futile to try and optimize further until these issues are fixed.

But here are some things that are worth checking if optimizing was to continue:
  • Optimizing bootstrap and really compiling only the required classes
  • Loading only the required javascript for each page (right now, everything is being loaded for every page and it takes up bandwidth for files that are actually needed)
  • Getting most data using AJAX, instead of being served with the main page
  • Eliminate fontawesome files which are most likely useless (brands.min.css)

In case the server response times are not fixed, it might be worth merging the css files into one and reduce likelihood that the server will wait for any of the requests and block the rendering of the site for 1.5s.

Also, optimization opportunities with minimal impact, I found:
  • Pre-compress static files so the server does not need to compress them every single time.
  • Minify static javascript files.
  • Minify even our custom css file (hawat.css)
Actions #3

Updated by Jakub Maloštik 9 months ago

  • Status changed from In Progress to Resolved
Actions #4

Updated by Jakub Maloštik 9 months ago

  • Status changed from Resolved to Deferred
Actions

Also available in: Atom PDF