title: PHP image resize on the fly vs storing resized images
body: <p>I'm building a image sharing site and would like to know the pros and cons of resizing images on the fly with PHP and having the resized images stored. </p>
  
  <p>Which is faster? </p>
  
  <p>Which is more reliable?</p>
  
  <p>How big is the gap between the two methods in speed and performance? </p>
  
  <p>Please note that either way the images go through a PHP script for statistics like views or if hotlinking is allow etc... so is not like it will be a direct link for images if I opt to store the resize images.</p>
  
  <p>I'll appreciated your comments or any helpful links on the subject. </p>