title: Force browser to only cache images (not scripts and links)
body: <p>I maintain a website that receives regular updates and style changes.  Following these changes, often my client will protest that I've somehow 'broken' their website purely because their browser has cached the old CSS stylesheets and/or scripts, sometimes even after a refresh.</p>
  
  <p>This question (<a href="https://stackoverflow.com/questions/49547/making-sure-a-web-page-is-not-cached-across-all-browsers?lq=1">How to control web page caching, across all browsers?</a>) explains how I can overcome the problem with just about any of the technologies at my disposal but I don't want a blanket no-cache solution, I would like the browser to maintain the images - particularly the larger ones that rarely change.</p>
  
  <p>Is this possible using, say, PHP, HTML, or even JavaScript?</p>
  
  <p>Call me OCD but I'd prefer not to modify the file names each time there is a change to the content (though I'm willing to resort to this), I'm looking for a control mechanism if one exists.</p>
  
  <p>I understand this can be achieved via Apache Expires module (as explained here: <a href="https://stackoverflow.com/questions/447014/website-image-caching-with-apache">Website image caching with Apache</a>) but the hosting account my client uses doesn't appear to grant me the access to do it and if I'm honest I'm far from an Apache expert.</p>