<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Clientside caching of clientlibs and images in Adobe Experience Manager Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/clientside-caching-of-clientlibs-and-images/m-p/200758#M106796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope you are aware of adv/disadvantage of adding etag.&lt;/P&gt;&lt;P&gt;It should work &amp;amp; also dispatcher does not have any role here &amp;amp; is apache mis configuration casing it.&amp;nbsp;&amp;nbsp; Just for a debug can you add [1] in virtual host directive &amp;amp; let me know how it goes.&lt;/P&gt;&lt;P&gt;[1]&amp;nbsp; FileETag MTime Size&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2015 02:27:27 GMT</pubDate>
    <dc:creator>Sham_HC</dc:creator>
    <dc:date>2015-10-16T02:27:27Z</dc:date>
    <item>
      <title>Clientside caching of clientlibs and images</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/clientside-caching-of-clientlibs-and-images/m-p/200757#M106795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;DIV style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; line-height: normal;"&gt;I'm working at a CQ5 application with activated Apache dispatcher module.&lt;/DIV&gt;&lt;DIV style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; line-height: normal;"&gt;Clientlibs (CSS, Javascript) and images are getting cached by the dispatcher, but the browser &lt;SPAN style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; line-height: normal;"&gt;every time&lt;/SPAN&gt;&amp;nbsp;receives a response code 200 instead of 304 for using the cached files on client side.&lt;/DIV&gt;&lt;DIV style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; line-height: normal;"&gt;When I look at the response header I don't receive any ETag information. Could this be the fault?&lt;/DIV&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; line-height: normal;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; line-height: normal;"&gt;&lt;SPAN style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; line-height: normal;"&gt;Example response of clientlibs.js:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="prettyprint linenums" data-language="java"&gt;HTTP/1.1 200 OK Date: Thu, 25 Sep 2014 09:25:05 GMT Server: Apache/2.4.6 (Ubuntu) X-Frame-Options: SAMEORIGIN Accept-Ranges: bytes Vary: Accept-Encoding Content-Encoding: gzip Cache-Control: max-age=604800, public Expires: Thu, 02 Oct 2014 09:25:05 GMT Keep-Alive: timeout=5, max=85 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: application/javascript&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; line-height: normal;"&gt;The response header of CSS files and other images look analogous.&lt;/SPAN&gt;&lt;BR style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; line-height: normal;" /&gt;&lt;SPAN style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; line-height: normal;"&gt;I want the browser to use the already loaded and cached files.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; line-height: normal;"&gt;The current setting is:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="prettyprint linenums" data-language="java"&gt;&amp;lt;FilesMatch "\.(css|js|gif|jpe?g|png|ico)$"&amp;gt; FileETag MTime Size &amp;lt;IfModule mod_expires.c&amp;gt; ExpiresActive On ExpiresDefault "access plus 1 week" &amp;lt;/IfModule&amp;gt; &amp;lt;IfModule mod_headers.c&amp;gt; Header append Cache-Control "public" &amp;lt;/IfModule&amp;gt; &amp;lt;/FilesMatch&amp;gt;&lt;/PRE&gt;&lt;P&gt;I also tried the newest version (4.1.8) of the dispatcher plugin (currently used 4.1.5), but no success.&lt;/P&gt;&lt;P&gt;Another user had a kind of &lt;A _jive_internal="true" href="https://forums.adobe.com/thread/1209100" target="_blank"&gt;similar question&lt;/A&gt; one year ago.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; line-height: normal;"&gt;Do you have any suggestions? ETag should be enabled by default at Apache.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; line-height: normal;"&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; line-height: normal;"&gt;Matthias&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 02:27:27 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/clientside-caching-of-clientlibs-and-images/m-p/200757#M106795</guid>
      <dc:creator>matth_as</dc:creator>
      <dc:date>2015-10-16T02:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Clientside caching of clientlibs and images</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/clientside-caching-of-clientlibs-and-images/m-p/200758#M106796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope you are aware of adv/disadvantage of adding etag.&lt;/P&gt;&lt;P&gt;It should work &amp;amp; also dispatcher does not have any role here &amp;amp; is apache mis configuration casing it.&amp;nbsp;&amp;nbsp; Just for a debug can you add [1] in virtual host directive &amp;amp; let me know how it goes.&lt;/P&gt;&lt;P&gt;[1]&amp;nbsp; FileETag MTime Size&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 02:27:27 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/clientside-caching-of-clientlibs-and-images/m-p/200758#M106796</guid>
      <dc:creator>Sham_HC</dc:creator>
      <dc:date>2015-10-16T02:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Clientside caching of clientlibs and images</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/clientside-caching-of-clientlibs-and-images/m-p/200759#M106797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sham,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I already tried just with active dispatcher and the above stated config (deleted all the rewrite rules etc) and it didn't work.&lt;/P&gt;&lt;P&gt;Even if I just activate and configure the dispatcher module and do nothing else, no ETag will be served.&lt;/P&gt;&lt;PRE class="prettyprint linenums" data-language="java"&gt;DocumentRoot "/dispatcher-cache" &amp;lt;Directory "/dispatcher-cache"&amp;gt; &amp;lt;IfModule disp_apache2.c&amp;gt; SetHandler dispatcher-handler ModMimeUsePathInfo On &amp;lt;/IfModule&amp;gt; SetOutputFilter INCLUDES Options FollowSymLinks Includes AllowOverride None Require all granted &amp;lt;/Directory&amp;gt; LoadModule dispatcher_module /mod_dispatcher.so &amp;lt;IfModule disp_apache2.c&amp;gt; # location of the configuration file. eg: 'conf/dispatcher.any' DispatcherConfig /dispatcher.any # location of the dispatcher log file. eg: 'logs/dispatcher.log' DispatcherLog&amp;nbsp;&amp;nbsp;&amp;nbsp; /var/log/apache2/dispatcher.log # log level for the dispatcher log # 0 Errors # 1 Warnings # 2 Infos # 3 Debug DispatcherLogLevel 3 DispatcherNoServerHeader 1 DispatcherDeclineRoot 0 DispatcherPassError 0 DispatcherUseProcessedURL 1 &amp;lt;/IfModule&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The basic Apache configuration has not been changed at all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 02:27:27 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/clientside-caching-of-clientlibs-and-images/m-p/200759#M106797</guid>
      <dc:creator>matth_as</dc:creator>
      <dc:date>2015-10-16T02:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Clientside caching of clientlibs and images</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/clientside-caching-of-clientlibs-and-images/m-p/463314#M133742</link>
      <description>&lt;P&gt;How was this marked as a correct answer, when the problem raised is not solved.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 15:18:15 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/clientside-caching-of-clientlibs-and-images/m-p/463314#M133742</guid>
      <dc:creator>Vinodthakur</dc:creator>
      <dc:date>2022-07-29T15:18:15Z</dc:date>
    </item>
  </channel>
</rss>

