What is the algorithm used to generate etags in Nginx? They look something like "554b73dc-6f0d" now.
Are they generated from timestamp only?
What is the algorithm used to generate etags in Nginx? They look something like "554b73dc-6f0d" now.
Are they generated from timestamp only?
From the source code: http://lxr.nginx.org/ident?_i=ngx_http_set_etag
You can see on lines 1830 and 1831 that the input is the last modified time and the content length.
In PHP who will need it.