Image, styles and scripts optimization