I am in charge of a construction project website that I update weekly for a local community. I make the updates and the files upload to the server correctly, but webpages' changes do not show up for me unless I clear my history, or put a "?" at the end of the url. This is fine for me to do this, but for visitors who bookmark my website and/or visit it frequently, I don't think it is realistic to have each visitor clear their history each week before visiting the website. What can I do so that they see the updates easily? Thank you for any suggestions.
If you want to prevent the files from being cached at all, you can add the following <meta> tags in the <head> of the page:
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Expires" content="-1">
However, this won't necessarily affect the behaviour of proxy servers. Some ISPs use proxy servers to store web pages to speed up their delivery. If you're having to clear your cache each time, it could be a proxy server that's not being cleared on a regular basis.
North America
Europe, Middle East and Africa
Asia Pacific