How to add a weather info to be evalueated only once???

Posted by Savvas Sopiadis on Stack Overflow See other posts from Stack Overflow or by Savvas Sopiadis
Published on 2010-05-18T22:36:51Z Indexed on 2010/05/18 22:40 UTC
Read the original article Hit count: 291

Hi everybody!

In a ASP.MVC (1.0) project i managed to get weather info from a RSS feed and to show it up. The problem i have is performance:

i have put a RenderAction() Method in the Site.Master file (which works perfectly) but i 'm worried about how it will behave if a user clicks on menu point 1, after some seconds on menu point 2, after some seconds on menu point 3, .... thus making the RSS feed requesting new info again and again and again!

Can this somehow be avoided? (to somehow load this info only once?)

Thanks in advance!

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about performance-tuning