Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This recommendation has nothing to do with Magento's caching.</p> <p>There are browser cache directives that can be sent to tell the client's browser how long to keep page objects like images, media content, page html, stylesheets, javascripts, etc in the local client browser cache before trying to refresh. These directives are enabled through DSO modules (apache web server), server configuration and .htaccess file entries.</p> <p>The .htaccess file installed by Magento has the following section which is only activated if your web server is loading the <a href="http://httpd.apache.org/docs/current/mod/mod_expires.html" rel="noreferrer">mod_expires DSO Module</a></p> <pre><code>&lt;IfModule mod_expires.c&gt; ############################################ ## Add default Expires header ## http://developer.yahoo.com/performance/rules.html#expires ExpiresActive On ExpiresDefault "access plus 1 year" &lt;/IfModule&gt; </code></pre> <p><a href="http://developer.yahoo.com/performance/rules.html#expires" rel="noreferrer">More information from Yahoo on setting Expires directives</a></p> <p><strong>ADDED</strong></p> <p>How to tell what modules are being loaded. This only works if the php interpreter is being run through loading the <strong>mod_php5</strong> DSO module in Apache. Create a <code>phpinfo()</code> configuration dump page and look for the following:</p> <p><img src="https://i.stack.imgur.com/16CcL.png" alt="enter image description here"></p> <p>Once the expires module is working and paying attention to your .htaccess entries, you can use an addon like LiveHttpHeaders in Firefox to view the HTTP server request/response headers similar to as follows:</p> <p><img src="https://i.stack.imgur.com/JpAeQ.png" alt="enter image description here"></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload