Task #7669
open
Optimize client rendering time
Added by Jakub Maloštik over 1 year ago.
Updated about 1 year ago.
Category:
Development - GUI
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 to Task #4494: Redesign JS portion of the Hawat web interface added
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)
- Status changed from In Progress to Resolved
- Status changed from Resolved to Deferred
Also available in: Atom
PDF