unimelb / unimelb-design-system

A complete design system for the University of Melbourne
https://web.unimelb.edu.au
30 stars 12 forks source link

Background Image for the feature with pathfinders in "Our History" page takes too long to load #905

Closed rock-san closed 7 years ago

rock-san commented 7 years ago

Expected behaviour

Background Image for the feature with pathfinders should either be loaded before the user gets to that section of the page or be lazy loaded so it appears all at once

Actual behaviour

Page is visited and there is no background image for awhile, looks like the background image is missing at first. After awhile the image will start to load bit by bit.

Steps to reproduce

Clear cache (if background image has already been loaded) and go here: http://cms.unimelb.edu.au/controlled-environment/about/our-history

dkevey commented 7 years ago

Hi @rock-san this site is not live yet to the public and therefore not cached on the Squiz CDN. Once the site is live it should load faster. Can you find any examples on sites that are live? i.e not using the URL starting with http://cms.unimelb.edu.au ?

axelboc commented 7 years ago

Reducing the size of the image in production should help as well. It currently is more than 5600px wide, so it can probably be about three times smaller.

axelboc commented 7 years ago

Also, since it's not in the foreground, the image can probably be compressed a fair bit. Anyway, closing this now, as it is more of a content issue. Well spotted, though!