php - Blog with heavy load of pictures-Speed up page -


i'm building travel blog (php) might loading dozens of pictures (size 500x375 weight 150-200kb) page weights more 4-5mb. way go apart caching/gzip decrease waiting time , make better user experience?

i'm on shared server budget low

thanks

some options:

  • split images across multiple pages
  • use 'lazy load' script request images come viewport
  • use ajax request images needed via user action
  • leverage external hosting of images (flickr, etc) split server requests amongst different servers.

Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -