I currently use nginx's proxy_cache for file-based caching in front of three Django applications (Apache/mod_wsgi). For some locations/URLs, I disabled proxy_cache and used Memcached (per view) within the Django app instead. Now I wonder whether pointing nginx to Memcached is more efficient.
I read here, that nginx can serve pages from Memcached – but does Django write complete pages to Memcached when configured for per view caching (and does it set an expiration date according to the @cache_page parameter)?