The frontend of my blog uses Ember.js -> http://ali.dj
On the frontpage I only show excerpts of the five latest posts which contain max. 1 image. Yet, all images are loaded for these five posts in the background.
I would like the additional images to be loaded only after showing the full post. How can I achieve this?
Lazy load plugins can't be used as I get the raw HTML of each post from the database. I decided to move the markdown parser to the server-side to reduce the complexity to O(1) and not to send a markdown-parser to the client.
Aucun commentaire:
Enregistrer un commentaire