preload images.
compress image before upload.
precompile assets