Thread:Project:Support desk/Upload a new PDF, but old PDF loading from Cache/reply (4)

Marking this as resolved, because I have figured out how to do it.

Posting the solution for others for future reference.

Note: This solution assumes your MediaWiki installation is running on Apache.

1. Navigate to your httpd.conf file (xampp\apache\conf\) and open it using your favourite text editor. If you do not have access to this folder/file, open your .htaccess file instead. 2. Underneath the "#LoadModule" lines, add the following; 	 Header set Cache-Control "max-age=0,must-revalidate"  
 * 1) Instruct the browser to always check for the latest version of your files using Apache directives

The server tells the browser to check for the latest versions of css, htm, gif, jpg, jpeg, js, png and pdf files. You can edit this list to your hearts content. If the version on the server is different than the one the browser has in its cache, the browser will download a new copy and refresh its cache.