Did you ever see a very simple front-page of a website which consists of one logo and 17 banners?

And all the banners are made of:
Size: 800 x 108 pixels
Horizontal Resulution: 72 dpi
Vertical Resolution: 72 dpi
Bit Depth: 24

If the main html file of the website is default.htm, how big will the default.htm file? 10K? 30K? 50K?…

You will not be wrong if you pick any of the numbers… Even if you said 100K… you are still on the right path…

If you display the webpage on your browser, how much of data  will be downloaded to your PC? It should be less than 700K right?… the index.htm + 1 logo + 17 banners… yea, less than 700K or 0.7MB should be sufficient.

But will you believe if is said the size is 5.16MB or to be exact 5,419,008 bytes? Yes… i type it correctly… 5.16 Mega Bytes… Yes it is five point one six mega bytes!!!

You don’t believe me yea?… well its ok… if you were the one telling me this stuff, I won’t believe you too.

Ok, let me tell you about it, I was troubleshooting a slow network again today…
After some emailing with the ISP, I check the content of the website… the front-page of the website… to my horror… this is what I found… an index file with the size of 5.16MB!!! UNBILIEVEABLE!!!

So, I reported that to the system people… When they came back to me, they told me there are 4,680,471 lines in that file!!!… yes… 4 MILLIONS!!!… The page supposed to display one logo and 17 banners only and hyper-linking each of them to their respective sites. UNBILIEVEABLE!!!


🙂

This is the SMSes between me and the system people, it’s in my language though. If i have time, i will translate it in comments… and I’ve censored some of it… 🙂


ME (11.40): Matai bos… Sia bantai XXXXXXX… rupa2… Ko tau size tu file bila sia save… default.htm – 5.16MB, default2.htm – 2.24MB & default3.htm – 2.67MB…
SYS (11.51): Esar juga 2.. Nt sia check size setiap jpeg 2.. Mcm kici ja ba 2.
ME (11.54): Bukan sebab tu gambar… Macam banyak scrip link entah p mana tu… Cuba ko open d browser dan save… Kalu file htm d sever mimang kicik mangkali, bila d browser client trus campur bytes dr scrip trus malatup…
SYS (12.06): Nt sia edit buang yg x perlu..
ME (12.07): Bagus ko bikin pure html baru… Clean one… Nanti ko kestau sia bila siap…
SYS (12.37): Ok.


SYS (5.35): Sdh check td 2 default.htm.. Odoi dogo ! Beribu2 lines dlm coding tp byk spaces atas. Skrg sia tengah buat baru tp esok baru upload. Now wonder ambik masa utk loading 2 page.
ME (5.39): Ha ha ha… Mati mati sia bantai XXXXXXX… last2 dorang minta tulung check coding… Satu kali sia check, dekat tidak buli becakap trus sia… Terpaksa sia minta XXXX secara halus… Tiga tiga tu htm busat2…
SYS (5.42): Ya, sia pun heran.. Rupa2nya tu CSS yg bikin byk ruang mau pakai. Nt sia upload 3 3 esok. Dulu sia copy dr live then tambah gambar ja, x pula sia check coding sbb bkn ada condition ka apa kan hehe.. Thanks for the info.. Patut la MD.Tbn dulu pun komplen lmbt hehe..
ME(5.45): Keh keh keh… Yalo…
SYS (5.49): U know what ? Unbelieveable ! 13K+ lines dlm coding.. Atukoi..
ME (5.50): Yabah… Sia mo view source pun mo hang pc sia…
SYS (6.27): 4,680,471 lines pula dlm coding ni.. Atukoi !!
ME (6.30): Mulau!!!!… Kalu kana jackpot itu nilai ok juga!!!! Macam mana juga tu… Mungkin kerna tulah XXXXXXX slow bila office start… Ododoi….
SYS (6.31): Mungkin sbb asal file 2 dlm visual interdev. Skrg sia copy object ja. CSS x mau guna.
ME (6.33): Mangkali lah tu… Kalu page simple macam tu, siapa juga sangka jadi juta juta line… Guna frontpage saja lah… Kah kah kah…
SYS (6.34): Sia guna dreamweaver skrg, baru 50 lines ja ni hehe..
ME (6.36): Keh keh keh… Bisuk tu XXXXXXXX akan jadi laju mangkali…
SYS (6.37): Ya harap2.. Rupa2nya page ni pula bikin slow network hahaha..
ME (6.39): Ko simpan tu 3 html file utk masuk arkib sejarah XXXX of year 2007…. Ha ha ha ha… Jan ko delete… Buli masuk malaysia giuness record mangkali tu…
SYS (7:09): Ngam 2, nt yg dlm live server skrg 2 sia copy masuk arkib haha..