Enable the Etag for dynamic content

Maxim Dounin mdounin at mdounin.ru
Fri Jun 3 14:08:02 UTC 2016


Hello!

On Fri, Jun 03, 2016 at 05:27:07PM +0530, RAKESH P B wrote:

> Hi All,
> 
> I'm using ngnx version nginx/1.10.1,  php application in back end connected
> via unix socket. We are planning to enable the cache behavior for dynamic
> contents using cache control headers and etag. We have tried below below
> method to enable the etag, but none of the method working as expected.
> 
> 
> 1. Compiled the nginx source code (1.10.0) with dynamic etag module.
> 2. upstream configuration is used to to connect via unix socket instead of
> location method.
> 
> Any suggestions will be helpful

Try generating entity tags in your application instead.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list