리눅스시스템/설정 2014/04/08 16:08
How to enable ETag in Apache Http Server
If your using Apache HTTP Server then you can use it to generate and return ETag for static resources that are served from disk. The Apache Http Server also takes care of comparing the value of If-None-Match header with ETag of the resource and returning either 304 Not modified or 200 OK.
Support for ETag is part of the Apache Core and it is enabled by default. Ex. These are the response headers that i get when i try to access cachesample.gif, which is a static image file on disk from Apache Server
The value of ETag header in this case is combination of three things
You can configure the behavior of the ETag using the FileETag directive which configures the file attributes that are used to create the ETag (entity tag) response header field when the document is based on a file. (The ETag value is used in cache management to save network bandwidth.) In Apache 1.3.22 and earlier, the ETag value was always formed from the file's inode, size, and last-modified time (mtime). The FileETag directive allows you to choose which of these -- if any -- should be used. The recognized keywords are:
Support for ETag is part of the Apache Core and it is enabled by default. Ex. These are the response headers that i get when i try to access cachesample.gif, which is a static image file on disk from Apache Server
The value of ETag header in this case is combination of three things
INode MTime
SizeYou can configure the behavior of the ETag using the FileETag directive which configures the file attributes that are used to create the ETag (entity tag) response header field when the document is based on a file. (The ETag value is used in cache management to save network bandwidth.) In Apache 1.3.22 and earlier, the ETag value was always formed from the file's inode, size, and last-modified time (mtime). The FileETag directive allows you to choose which of these -- if any -- should be used. The recognized keywords are:
- INode : The file's i-node number will be included in the calculation. i-node is the number generated by OS to keep track of the file, it includes things like access level, creation time,... You can configure apache to use only INode by adding this line to httpd.conf
FileETag INode
This is screen of how the INode only ETag looks like - MTime: The date and time the file was last modified will be included. You can configure apache to use only Last-Modified date of the file to generate ETag by adding this line to httpd.conf
FileETag MTime
This is how my cachecontrol.gif response headers look like when i use MTime for ETag generation - Size: The number of bytes in the file will be included. You can configure Apache to use only size of the file for generating ETag by adding this line to httpd.conf
FileETag Size
This screen shot of headers when Apache is configured to use only file Size for calculating ETag - All: All available fields will be used. This is equivalent to:
FileETag INode MTime Size
- None: You can disable generation of ETag by Apache Http Server by adding this line
FileETag None
THis is screen shot of headers after ETag is disabled
http://zosel.net/trackback/121
from.instagram likes 2014/12/17 06:38
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.mansfield heater repair 2015/07/11 22:58
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.Venus Factor Review 2015/09/24 07:28
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.car service Boston 2015/11/13 09:51
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.Gain muscle fast 2015/11/14 00:33
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.baie vitrée coulissante pvc 2015/11/16 12:03
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.Ugg Australia Shop Online Italy 2015/11/18 07:22
nike shox white
from.raising boer goats 2016/01/01 04:10
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.michael leland portland oregon 2016/02/15 17:38
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.Best Games for Windows Mobile 2016/02/19 20:41
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.ipage renewal coupon 2016/02/22 08:04
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.billiga fotbollströjor 2016/02/23 13:47
Borussia Dortmund Lukasz Piszczek fotbollsTröjor Borussia Dortmund Matthias Ginter matchställ fotboll Borussia Dortmund Marcel Schmelzer fotbollsTröjor barn Borussia Dortmund Erik Durm Tröjor
from.https://drive.google.com/ 2016/02/26 16:27
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.petcoats.net 2016/03/04 21:23
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.pearce engineering 2016/03/14 20:49
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.adobe photoshop serial key 2016/05/08 19:15
I’d have to check with you here. Which is not something I usually do! I enjoy reading a post that will make people think. Also, thanks for allowing me to comment!
from.odszkodowanie 2016/06/18 05:01
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.odszkodowanie 2016/06/18 05:02
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.Angry Birds Film 2016/07/06 11:34
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.Gdzie jest Dory 2016/07/13 20:20
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.islamic center 2017/01/17 17:09
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.Giường gỗ óc chó tphcm 2018/07/08 03:29
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.Fitflop UK Classic 2018/07/08 15:17
Good post but I was wondering if you could write a litte more on this topic? I'd be very thankful if you could elaborate a little bit more. Many thanks!
from.captain marvel warbird cosplay 2019/12/02 22:10
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.harley quinns gun 2019/12/04 19:02
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.realistic black panther costume 2019/12/04 20:06
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.deadpool cosplay costume for sale 2019/12/05 08:25
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.domino deadpool 2 cosplay 2019/12/05 17:49
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.spider-man ps4 suits 2019/12/06 01:58
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.https://haveanicetrip.club/seguro-viagem/ 2019/12/14 15:13
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.http://52.170.151.59/ 2019/12/20 16:58
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.Hair Extensions 2020/01/13 08:41
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.scarlet witch costume buy 2020/01/15 00:33
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.harley quinn combat boots 2020/01/15 14:13
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.hawkeye and black widow costume 2020/01/15 14:37
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.Check Out Womencosplaycor Hatenablog 2020/01/16 18:47
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.big bang theory aquaman costume 2020/01/16 23:51
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.deadpool costumes for 9 year olds 2020/01/17 03:26
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.mouse click the following web page 2020/01/17 06:04
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.captain marvel cosplay by cutiepiesensei 2020/01/17 08:20
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.thor and loki costumes 2020/01/17 12:17
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.mouse click the up coming webpage 2020/01/18 03:06
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.click the following internet page 2020/01/18 15:13
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.spiderman costume replica 2020/01/18 15:50
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.褞斜泻邪 锌谢懈褋褋懈褉芯胁邪薪薪邪褟 屑懈写懈 chapurin 2020/01/20 08:01
<a href="http://www.ldlyrics.com/clare/%d0%be%d1%80%d0%b8%d0%b3%d1%96%d0%bd%d0%b0%d0%bb%d1%8c%d0%bd%d0%b0-%d0%b2%d0%b5%d1%87%d1%96%d1%80%d0%bd%d1%94-%d0%bf%d0%bb%d0%b0%d1%82%d1%82%d1%8f">芯褉懈谐褨薪邪谢褜薪邪 胁械褔褨褉薪褦 锌谢邪褌褌褟</a><a href="http://www.ldlyrics.com/co...
from.scarlet witch civil war costume diy 2020/01/21 02:34
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.women marvel costumes 2020/01/21 14:50
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.Going at Costumesblog Weebly 2020/01/22 06:31
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.doj膷ensk茅 拧aty new baby lienka 86 2020/01/22 07:26
<a href="http://www.maisfontes.ru/coast/tri%c4%8dko-z-biobavlny-s-dl.-ruk%c3%a1vem-frot%c3%a9-hn%c4%9bd%c3%a9-pruhy">tri膷ko z biobavlny s dl. ruk谩vem frot茅 hn臎d茅 pruhy</a><a href="http://www.maisfontes.ru/colerain/dekora%c4%8dn%c3%a9-n%c3%a1lepky-sovy-...
from.girl to climb over the stock fot贸 2020/01/22 17:09
<a href="http://www.jornadacoloprocto.com/makanda/cs%c3%basz%c3%a1svesz%c3%a9ly-figyelmeztet%c5%91-t%c3%a1bla">cs煤sz谩svesz茅ly figyelmeztet艖 t谩bla</a><a href="http://www.jornadacoloprocto.com/mcfarlan/ny%c3%a1r-feln%c5%91tt-n%c5%91i-kalap-piros-n%c5%91k...
from.nightwing female costume 2020/01/24 02:07
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.new spiderman suit 2020/01/24 06:47
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.spiderman homemade suit 2020/01/24 18:02
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.mouse click the up coming website 2020/01/25 06:49
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.custome lace wigs 2020/01/25 07:07
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.spider man suits 2020/01/26 00:30
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.new spiderman suit 2020/01/26 03:02
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.visit the following internet page 2020/01/26 08:04
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.click the next page 2020/01/26 08:38
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.mouse click the following web page 2020/01/27 12:18
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.spiderman black suit 2020/01/28 07:48
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.batman white rabbit cosplay 2020/01/29 05:13
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.lange bor elv忙rkt酶j tilbeh酶r sammenlign priser hos pricerunner 2020/01/30 12:12
<a href="http://www.asnafeshiraz.com/arenas/stephen-curry-jersey-sales">stephen curry jersey sales</a><a href="http://www.asnafeshiraz.com/ausable/miu-miu-wallet-2016">miu miu wallet 2016</a><a href="http://www.asnafeshiraz.com/avenal/educational-instr...
from.inredning f枚r barnrum hos leksakstorget leksaker online 2020/02/01 13:46
<a href="http://www.nationalnewssurvey.com/bright/acne-studios-brown-della-cardigan-women">acne studios brown della cardigan women</a><a href="http://www.nationalnewssurvey.com/burrell/cheap-light-grey-faux-suede-biker-jacket-no.4553-discount">cheap li...
from.shop fendi brown logo pattern collared dress for kids 2020/02/01 17:11
<a href="http://www.jabodetabeknews.com/grenola/womens-ny-giants-pullover">womens ny giants pullover</a><a href="http://www.jabodetabeknews.com/haughton/womens-sketchers-for-me">womens sketchers for me</a><a href="http://www.jabodetabeknews.com/humble/...
from.Www.Feed2Js.org 2020/02/05 00:00
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.didriksons boardman sett 2020/02/05 07:49
<a href="http://www.tommilantinen.com/newbury/best-pris-p%c3%a5-samsung-se-priser-f%c3%b8r-kj%c3%b8p-i">best pris p氓 samsung se priser f酶r kj酶p i</a><a href="http://www.tommilantinen.com/niantic/k%c3%b8b-nike-element-half-zip-dame-til-dame-i-gr%c3%a5-s...
from.youth spiderman mx gear package free shipping typhoon 2020/02/05 10:37
<a href="http://www.nationalnewssurvey.com/bingham/alpinestars-stella-ast-1-textile-trousers-black">alpinestars stella ast 1 textile trousers black</a><a href="http://www.nationalnewssurvey.com/bonduel/agv-k-3-sv-full-face-motorcycle-helmet-new-ideas-c...
from.hybrid honda civic battery life 2020/02/17 14:39
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.12 volt sealed lead acid battery 2020/02/21 17:18
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.tati gennevilliers 2020/02/23 16:00
<a href="http://www.newsacpindiatelangana.com/strongcity/%d7%aa%d7%9e%d7%95%d7%a0%d7%94-%d7%a9%d7%9c-%d7%9c%d7%91%d7%91%d7%95%d7%aa-%d7%a9%d7%a7%d7%95%d7%a4%d7%99%d7%9d-%d7%9c%d7%a7%d7%99%d7%a9%d7%95%d7%98-%d7%90%d7%95-%d7%9b%d7%9c-%d7%a9%d7%99%d7%9e%d...
from.nissan leaf battery rebuild 2020/02/25 14:22
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.louis vuitton damier messenger melville shoulder bag ebene 2020/02/28 15:34
<a href="http://www.indonesiadev.com/aurora/hare-%e3%83%8f%e3%83%ac-%e3%81%ae%e3%83%ac%e3%82%b6%e3%83%bc%e3%83%97%e3%83%ac%e3%83%bc%e3%83%b3%e3%83%88%e3%82%a5%e3%82%b7%e3%83%a5%e3%83%bc%e3%82%ba-%e3%83%95%e3%83%aa%e3%83%9e%e3%82%a2%e3%83%97%e3%83%aa-%e...
from.balenciaga blue bag ikea ahoy comics 2020/03/02 18:25
louis vuitton x supreme apollo camouflage camo backpack <a href="http://www.shorgol24.com/yonah/christian-louboutin-pouch-shopping-bag">christian louboutin pouch shopping bag</a> a silver monogram vernis speedy mirror bag labeled louis where are christ...
from.visit here 2020/06/13 13:42
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.black knitted stone island beanie 2020/07/13 09:22
sandalias deportivas mujer decathlon epp para quimicos <a href="http://www.himalayanmtb.com/meccanico/vuelos-ultimo-minuto">vuelos ultimo minuto</a> puerta ventana interior 褔褌芯 胁泻谢褞褔邪械褌 胁 褋械斜褟 褎械泄褋斜褍泻 褉械谐懈褋褌褉邪褑懈褟 <a href="http://www.hjmcpcb.com/bigrive...
from.visit here 2020/07/20 17:52
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.visit here 2020/08/22 15:29
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.visit here 2020/08/22 15:45
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.visit here 2020/10/09 17:34
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.visit here 2020/10/09 17:59
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.visit here 2020/10/25 14:48
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.visit here 2020/10/25 15:09
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.visit here 2020/11/16 18:41
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.visit here 2020/11/16 19:38
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.ЖК Struetinsky Residence киев форумы 2020/12/01 00:15
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.жк струтинский резиденс киев цены 2020/12/01 01:30
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.visit here 2020/12/26 16:53
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.visit here 2020/12/26 16:55
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.visit here 2021/01/21 12:34
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.visit here 2021/01/21 12:44
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
from.woodboard.kiev.ua 2021/01/21 23:08
::: ZOSEL ::: :: How to enable ETag in Apache Http Server
125