hlxsites / servicenow

Apache License 2.0
2 stars 3 forks source link

Improve Blog List User Performance/User experience #230

Open andreituicu opened 4 months ago

andreituicu commented 4 months ago

We received the following customer feedback

I noticed the blogs associated with author Abhi Rele populated very slowly on the page, to the point that I originally thought they were missing.

The problem is:

Possible solutions:

andreituicu commented 4 months ago

Another possible optimisation is: We are using quite big break points for the images, because that is what is needed on the cards from the homepage/sidebar. These could be however parametrised, so we can use smaller images on the blog list cards, thus freeing bandwith to load bigger chunks of JSON info from the the index.

andreituicu commented 3 months ago

Actually, thinking about it, changing the size of chunks may not bring any benefits and might be even more harmful, because we use the same chunk size for all lookups for blogs (blog list, cards homepage, cards sidebars), which means we are maximising the requests that are being cached in the CDN and local browser. using different chunk sizes, will result in 2 distinct requests that are not cached.