desbouis/nginx-redis-proxy — Issue #5: Cache headers with body
Author: desbouis
Created: 2011-11-29 19:42:48+00:00
State: open

Now, only the body of a web object is cached in redis.
Better is to store http headers with the body : like that, sometimes I want that my json file has utf-8 encoding, sometimes I want my html page has iso-8859-1 encoding. The backend is managing the good headers, the backend is always serving good headers.
In fact, an web object is a body with its http headers.