title: Caching to make my website offline isn't working
body: <p>Below is my cache file:</p>
  
  <pre><code>CACHE MANIFEST
  # 2013-11-22 14:38:54735779
  
  CACHE:
  
  ../../../../assets/img/background_01.jpg
  ../../../../assets/img/background_02.jpg
  ../../../../assets/img/background_03.jpg
  ../../../../assets/img/datepicker_icon.png
  ../../../../assets/js/jquery-1.10.2.min.js
  ../../../../assets/js/jquery-ui-1.10.0.custom.min.js
  ../../../../assets/js/bootstrap.min.js
  ../../../../offline/offline.js
  ../../../../offline/offline_external.js
  
  NETWORK:
  *
  </code></pre>
  
  <p>In Google Chrome (while internet is active), I am able to see that all the above specified files are cached. Google Chrome is able to show the items that are cached. However, when I try switching off internet and refreshing the page, chrome reports the following errors:</p>
  
  <blockquote>
    <p>Application Cache Error event: Manifest fetch failed (-1)   Uncaught
    ReferenceError: jQuery is not defined
    (anonymous function) GET
    <a href="http://mywebsite.com/app/assets/js/jquery-1.10.2.min.js" rel="nofollow">http://mywebsite.com/app/assets/js/jquery-1.10.2.min.js</a></p>
  </blockquote>
  
  <p>The path to Jquery is correct and I am not able to fault that as I am able to click the link and it navigates me to the right location in the server.</p>
  
  <p>Can someone tell me where I have made an error?</p>
  
  <p>I tried the same setting in my local server and it works without error. </p>
  
  <p>My .htaccess setting is this:</p>
  
  <pre><code>AddType text/cache-manifest manifest
  AddType application/octet-stream csv
  RewriteEngine on
  RewriteBase /
  RewriteCond %{HTTP_HOST} ^([^\.]+)\.myswebsite\.com$ [NC]
  </code></pre>
  
  <p>Please note that I have tried the</p>
  
  <blockquote>
    <p>AddType text/cache-manifest manifest</p>
  </blockquote>
  
  <p>and  </p>
  
  <blockquote>
    <p>AddType text/cache-manifest .manifest</p>
  </blockquote>
  
  <p>It does not solve the issue. When I refresh the page when the internet is down, the offline still does not work.</p>