Open full view…

Cache page question! Messages.

Thu, 12 Jan 2017 10:32:32 GMT

I have build a messages app with node.js, and mongodb where everything works like the messanger app on iphone. And when the user loads the messages page then I get 25 old messages from the database. And if there is many images that is getting loaded from the db then the old messages takes a couple of second to get visible. But if I look at the demo on the framework7 startpage then the messages is loaded at ones and the images is loaded a little bit later. So how can I make it load faster? I have set the .asp page to cache it self for 1 hour. Any input appreciated, thanks.