0
Well, I have a PHP system that builds a PDF. After that, I have a common html link that opens the pdf on the screen normally, until then everything ok.
However if I modify the content of the PDF, and give the command to the system to rebuild it with this new information, when clicking on the link to open, it opens the old pdf, I can only view the new one if you give a "F5".
Does anyone know an alternative to always open the already updated file and not the cache version?
PS: the link opens the ready file that is saved on the server.
try to put a variable that always changes in the link, eg:
www.meusite.com/arquivo.pdf?n=093904
. So every time we change this?n=
it will not find anything cached, and will open the new pdf– Leonardo Rodrigues
This should work. But it’s not exactly what I wanted, anyway, if I don’t get another way I’ll apply it. Thanks Leonardo
– Douglas Carvalho