Kesalahan Slicing Image buat Web
Posted on July 1st, 2009 by Rio
Tidak selamanya slicing dengan ukuran kecil bisa membuat halaman web lebih cepat diakses, kita juga perlu memperhatikan banyaknya image yg di-slice dalam satu halaman. Jadi meski slice image-nya kecil namun jika banyak jumlah image-nya maka jumlah request ke server otomatis menjadi lebih banyak sehingga mempengaruhi performa juga.
Load fewer external objects. Due to request overhead, one bigger file just loads faster than two smaller ones half its size. Figure out how to globally reference the same one or two javascript files and one or two external stylesheets instead of many; if you have more, try preprocessing them when you publish them. If your UI uses dozens of tiny GIFs all over the place, consider switching to a much cleaner CSS-based design which probably won’t need so many images. Or load all of your common UI images in one request using a technique called “CSS sprites“.

dan klik Save Changes