homepage Welcome to WebmasterWorld Guest from 23.20.61.85
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Advertising / Affiliates
Forum Library, Charter, Moderators: eljefe3 & skibum

Affiliates Forum

    
Affiliates scripts with masses of javascript
thoughts on how to deal with it
stuartmcdonald

10+ Year Member



 
Msg#: 3683924 posted 10:16 am on Jun 26, 2008 (gmt 0)

Some of the affiliate ads I run on my site come with masses of baggage in the form of javascript upon javascript -- in one case 60K worth of included files and functions.

How do people deal with this? I can cache the main file, but not all the includes, so if there's some sluggishmess at the vendor's end (not that they'd admit ever it), the page can slow down to a crawl while it waits for complex javascript date routines etc -- yeah the flight bookers are particularly bad for this.

Aside from keeping the ads on a subsidiary page with a click through to it, to keep delays of higher traffic pages, does anyone have any suggetsions?

 

josjongejan

5+ Year Member



 
Msg#: 3683924 posted 3:49 pm on Jul 7, 2008 (gmt 0)

Are the javascripts generated dynamically or are they static?
If they're 100% static you could just consolidate all of them into one .js file and host it locally. It's not gonna resolve your problem entirely but it should speed things up slightly.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Advertising / Affiliates
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved