I have page where I have table with users data and each row (each user has their own business card which is a tag that reference to pdf that is stored on server.
<td class="business_card">
<a href="/static/users_documents/9/business_card.pdf" target="_blank">
<img src="/static/images/business_card.png" name="business_card" alt="business_card_image">
</a>
</td>
When user send post request, previously pdf file on server is deleted and new pdf is created.
But, problem is that browser cache old version of file, and I must press every time CTRL+F5 to hard refresh cache and then I can see file from server, not from cache.
Do I need to use JavaScript to clear cache?
Also, my a tag reference to page like this:
https://192.168.2.244/static/users_documents/9/business_card.pdf
and html for that page is created by Firefox to display my pdf file.
Some additional info which may help is that I'm using Nginx server on Ubuntu 16.04.3.