Also, load the page with a busy animated gif and use something like dajaxice to 
fetch and replace the computed value.  Several examples and libraries out ther.

    —
Sent from Mailbox for iPad

On Fri, Aug 16, 2013 at 11:22 PM, Some Developer
<someukdevelo...@gmail.com> wrote:

> On 17/08/13 03:43, Christophe Pettus wrote:
>>
>> On Aug 16, 2013, at 7:36 PM, Some Developer wrote:
>>
>>> Alternately I could get rid of the hourly period task and just work it out 
>>> when a customer visits a certain page but that is likely to lead to long 
>>> load times and heavy database use.
>>>
>>> Any suggestions on what you would do in this situation?
>>
>> Calculate the value on demand, and cache it with an expiration time, most 
>> likely.
>>
>> --
>> -- Christophe Pettus
>>     x...@thebuild.com
>>
> Good plan. Thanks.
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to