title: Caching HTML output with PHP
body: <p>I would like to create a cache for my php pages on my site. I did find too many solutions but what I want is a script which can generate an HTML page from my database ex:</p>
  
  <p>I have a page for categories which grabs all the categories from the DB, so the script should be able to generate an HTML page of the sort: my-categories.html. then if I choose a category I should get a my-x-category.html page and so on and so forth for other categories and sub categories.</p>
  
  <p>I can see that some web sites have got URLs like: wwww.the-web-site.com/the-page-ex.html</p>
  
  <p>even though they are dynamic.</p>
  
  <p>thanks a lot for help</p>