Are etags supported in nginx? I am running nginx/1.4.1
Posted at Nginx Forum:
Are etags supported in nginx? I am running nginx/1.4.1
Posted at Nginx Forum:
On Wed, Jun 05, 2013 at 02:54:34AM -0400, justin wrote:
Are etags supported in nginx? I am running nginx/1.4.1
I added etag on to my config, but still don’t see etags in the response
headers.
Posted at Nginx Forum:
On Wed, Jun 05, 2013 at 03:53:23AM -0400, justin wrote:
I added etag on to my config, but still don’t see etags in the response
headers.
ETag’s are generated for static resources only. Modules that add
dynamic contents to static resources may cause the ETag header to
be removed from response, such as the ngx_http_addition_module,
or when gzipping a response.
On Thu, Jun 06, 2013 at 12:10:51AM -0400, justin wrote:
Ok, I see the etag for images, but not for javascript or css. Is this
because I have gzip enabled?
ETag is cleared when gzipping a response on the fly.
You can use
http://nginx.org/en/docs/http/ngx_http_gzip_static_module.html
for javascript and css files, in which case the responses will
include ETag.
Ok, I see the etag for images, but not for javascript or css. Is this
because I have gzip enabled?
Thanks for the help.
Posted at Nginx Forum:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs