Ski reports don't change after they have been published normally.  you can
call them once and check dates tamp of report and cache it for the rest of
the day

Casey Dougall
On Mar 19, 2015 8:55 PM, "Judith Dinowitz" <[email protected]>
wrote:

>
> We're building a ski trip planning app in Rails. A SkiLocation has one
> SnowReport, is it lazy loaded? ie, if I load SkiLocation.all it won't load
> all the snow reports until i do like, SkiLocation.SnowReport, right?
> Because the key is, if it hits the Snow Report API for each ski location
> every time, then we could be looking at 20 API calls... Sort of a snowball
> effect (no pun intended).
>
> Judith
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:373309
Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-community/unsubscribe.cfm

Reply via email to