A nice hack, but it should really cache the stock information unless you want to hammer Yahoo.
Your example sites features 13 stocks. With the current implementation, that means every time someone accesses your stock page, your server is hitting Yahoo 13 times. Imagine 20 users accessing your stock page - your server would be hitting Yahoo 260 times. Imagine 200 users accessing your stock page - Yahoo gets hit 2600 times!
|