When replacing an existing PDF, browsers don’t serve the latest version. They usually serve the cached version. To change that, we use Apache directives as below:
# Instruct browsers to always check for the latest version of your files using Apache directives
Header set Cache-Control "max-age=0,must-revalidate"
The instruction above includes more than just PDF.
Another solution is using
?ver=x.x in the URL. For example:
x.x could be any number.