I know that headers can ensure a page that is fetched is always fresh: How to control web page caching, across all browsers?
But I just need to fetch a PDF in a new window. I'm using the following code to fetch the PDF, but how can I make sure the PDF itself a fresh (non-cached version)?
<a href='/somepath/doc.pdf' id='pdf' target='_blank'>View PDF</a>
Because my application dynamically creates PDF documents all the time, I want the most recent one. Is it not possible to do this simply? Or do I need to write a PHP page dedicated for this or something?