Rabu, 01 Desember 2010

Trik Mempercepat Page Load Mozzila Firefox

to the point aj,
basa basinya gw ketik besok, soalnya besok pagi gw ujian :D
pertama instal
addon Greasemonkey
dan
Local Load




setelah diinstall maka ff akan minta restart, turutin dah :D
kemudian install script ini
caranya klik button install


penjelasan sementara pake bahasa inggris, itung itung belajar :D

ADD-ON FUNCTION: The add-on loads popular JavaScript libraries from a local resource, rather than over the Web, using valid HTML5 compliant custom data attributes. That can save bandwidth and load pages faster. Which is a good tool for developers, but quite useless for end-users. As it does not detect scripts that are not using the custom data attributes. Which must be added manually by a developer.

SCRIPT FUNCTION: This user script will take advantage of the functions provided by the add-on to provide end-users with its functionality. In which, it will dynamically insert the custom data attributes to certain scripts that meet the requirements as specified in the source code of this user script. After which, the add-on will take over and parse the dynamically added custom data attributes. Making full use of the functions provided by the add-on for not just the developers but also for end-users as well

kira kira gini maksudnya,
yang bikin load page lambat adalah tingkat banyak dan rumitnya javascript dari page yang di load. Seperti contoh untuk produk produk layanan google rata rata menggunakan javascript yang lumayan banyak dan rumit, konsekuensinya page load nya jadi lebih lama. Coba saja perhatiin saat browser meload gmail dan ymail..
akan lebih berat gmail(selain itu di gmail juga ada pilihan "load basic html for slow connection")tapi secara mekanisme kerja javascript akan lebih membuat halaman makin indah dilihat.

Nah, langkah langkah yang sudah dilakukan tadi adalah upaya melokalkan dari javascript yang dihost di javascript hosting ke browser, akan ada lag sedikit saat browser belum meload page secara sempurna.. Tapi bagi koneksi yang lumayan cepat lag tersebut tidak akan terasa.
hope it help :)

0 comments:

Posting Komentar