jquery - What is the reasonable size for a single responsive web page -
i developing website designed have lots of large images background
.
i using media-query
because should responsive , have different background each screen sizes. total size of images 10mb excluded small images may file 300kb only.
the scripts
(bootstrap, jquery , custom js), styles
(bootstrap , custom css) , html
less 1mb.
in conclusion loading more or less 11mb web page index page. assets compressed , placed in cdn on server.
my problem here when visited website first time takes time load page, specially when visitor's internet connection slower standard speed. takes more 20sec load entire page in worse cases more minute , there wrong.
is there reasonable or standard size single web page follow? using symfony2
maybe there's plugin or alike can me.
here way website. link thanks.
11mb way big single web page. however, can better performance out of symfony few tweaks.
one thing can right use assetic manage asset files, , minify them before sent client.
also, make sure apc running on server. can check <?php phpinfo(); ?>
output , page search "apc", or run php -i | grep apc
on command line.
there online image optimizers, google "image optimizer" , you'll find tons each image type. (i can't post link, because site isn't letting me post more two).
reference
Comments
Post a Comment