Hi guys,

I'm working on a group buying website like groupon. This page have a
regressive counter that tells the user how many time is available
before the end of the deal publishing.

I want to cache this site: I want to put nginx to serve memcached
directly and only when the page is not found in the memcached, go to
django. I already did it on another project and it worked very well.

The problem here is the current time of the server, caching the site
will broke the regressive counter function.

I planning to cache all the site but the server datetime. I will serve
the datetime as a javascript file and use it on a javascript function,
this way, the cached homepage can refer to the not cached javascript
file.

What do you suggest me? Is django too expensive to serve this datetime
or may I use another scripting language directly from nginx, Maybe PHP
or Perl?

Thanks for any advice!

--
Michel Sabchuk

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to