you can use http headers to cache the whole page

On Thu, Aug 7, 2014 at 9:22 AM, Chen Xu <[email protected]> wrote:

> Hi Everyone,
> I have a dynamic page which generates some data from the database, but the
> content in the database might be the same for everyone or for a long time,
> so I wonder what is the best way to cache the page so that it won't be
> talking to the database every time?
>
>
> Thanks
>
>
>
> --
> ⚡ Chen Xu ⚡
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACac-qZUVO289z3Z9s7DziMOhbwYES_Jtv_7tpjH8xMp9-oEEw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CACac-qZUVO289z3Z9s7DziMOhbwYES_Jtv_7tpjH8xMp9-oEEw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWa6tJJhDxr9MDv6LO5bcOs9HnKLiJa0y4nwBprijzO_LgEiw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to