Rey Bango

JavaScript, HTML, CSS & Random Stuff…

CF8 Ajax: Quick Tip for Shrinking the Page Size

In chatting with Adobe, one thing that came out was that their Ajax indicator (the spinning activity indicator) had not be optimized. Since this is just an animated .gif file, its an easy replacement.

Just go to \CFIDE\scripts\ajax\images and replace loading.gif with another image. You can get other indicators at:

ajaxload.info

napyfab

Since they're just images, simply right-click on the image and save it down. Then drop it into the folder specified above.

You will need to rename your new image to loading.gif.

Then, clear your cache and reload your page. In my tests, doing this shredded 100k off of the page size.

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Category: Adobe, AJAX, ColdFusion

Tagged:

Leave a Reply

Learn JavaScript!

What to Read to Get Up to Speed in JavaScript.

The best books & blogs for learning JavaScript development. Broken down by experience levels!


My BIG LIST of JavaScript, CSS & HTML Development Tools, Libraries, Projects, and Books.

Constantly updated with the latest and greatest tools. Check it out!

Contact Me

GMail: reybango at gmail dot com
Twitter: @reybango




JavaScript JS Documentation: JS Function Example: Specifying arguments with the Function constructor, JavaScript Function Example: Specifying arguments with the Function constructor

Twitter

Rey Bango is Stephen Fry proof thanks to caching by WP Super Cache