Trying to optimize script
I'm building a web application right now that uses google checkout. As part of this, I need to calculate the shipping cost. This requires asking the fedex server how much it costs to ship the item. On average it takes a minimum of 1 second x 4 methods = 4 seconds to calculate these costs. This is a long time to leave the user sitting there before loading a page. Does anyone know of any reliable methods I could use to say delegate this job to another script so that this event can be triggered and the data stored so that it can be quickly retrieved without the user ever seeing these 4 seconds?