Pagespeed optimization of resoursces