Hello everybody.
I have a PHP site with dynamic content so I need to STOP the browser from caching because I have noticed that when caching is used by default it sometimes shows old contents fetched from the cache, while instead new stuff is on the page remotely.
I tried this in the <head>:
<META NAME="expires" CONTENT="0">
<META NAME="Pragma" CONTENT="no-cache">
<META NAME="Cache-Control" CONTENT="no-cache">
and I have noticed that everything slows down, especially because all the images aren't cached anymore either, so here is my question:
Is there a way to STOP THE BROWSER from CACHING everything BUT the images? In other words I would like that browsers DO cache images but DO NOT cache html/php code.
Thank you for your help.