Could you someone have experience configuring Etags in Sitecore 8.1? I do not see all images coming from Media library has response cache header ETag.
I have verified in Most modern browsers chrome and Firefox Network Tab.
Thanks Mala
Change the MediaResponse.Cacheability setting in App_Config\Sitecore.config to Public:
<setting name="MediaResponse.Cacheability" value="Public" />
Once the setting is changed, the result as shown in Fiddler:
FYI, other settings are:
NOTE: To follow Sitecore's Best Practice, instead of changing direct changes to Ssitecore configs, create the following patch file (MediaResponseCacheabilityPublic.config) in \App_Config\Include\zzz\
folder:
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/" >
<sitecore>
<settings>
<setting name="MediaResponse.Cacheability" set:value="Public" />
</settings>
</sitecore>
</configuration>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With