title: HTML5 AppCache with dynamic pages
body: <p>I have a php file called pages.php that returns a page specified by a query parameter. The user selects a number from a dropdown and then an ajax request is sent to pages.php with that number like:</p>
  
  <pre><code>pages.php?page=1
  </code></pre>
  
  <p>The number of pages is dynamic.
  I am using HTML5's AppCache to cache the index page, but how do I get the browser to cache the the ajax requests. Adding pages.php to the manifest file just caches the response that has no page. But it does cache any requests with a page number. I want to do something like this in the manifest file:</p>
  
  <pre><code>CACHE:
  pages.php?page=*
  </code></pre>
  
  <p>I am trying to get it so that the user can access pages they have viewed previously if they go offline. AppCache doesn't seem suited to making websites offline capable (only making static resources load quicker), is there some other feature I should be using?</p>