Support Team
posted this
22 hours ago
Hello Richard,
In this case, the only fully reliable solution is to set proper cache‑control headers on your server - this requires having your own hosting with access to the server configuration, for example via Nginx. That way, uploaded files will be reloaded on every visit instead of being served from the browser cache.
Here's an example Nginx configuration you can use for your uploaded files (PDFs, docs, images, etc.):
location ~* \.(pdf|docx|doc|jpg|jpeg|png|zip)$ {
add_header Cache-Control "no-store, no-cache, must-revalidate, max-age=0";
add_header Pragma "no-cache";
add_header Expires 0;
}
As a simpler and more convenient alternative, we suggest versioning your files, which is effectively equivalent to renaming them. By adding a parameter to the URL (like file.pdf?v=2), you ensure that readers always get the latest version without changing the actual file name.
...................................................
Sincerely,
Theo S.
Nicepage Support Team
Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp