Is'nt the simple solution to just simply change the menu page to read something like contact the restaurant for updated menu, or words to that effect. This way the site stays live without issues.
Is'nt the simple solution to just simply change the menu page to read something like contact the restaurant for updated menu, or words to that effect. This way the site stays live without issues.
Yes but remember regular visitors will not be automatically be downloading the latest site, but one from their computers cache. So unless these visitors press Ctrl+F5 they still get the old version. At least that's my understanding ...
Egg
Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
When I visit a regular site I don't press Ctrl+F5 each time. What would be the point in updating your site if all that everyone got was an old version? When I visit a regular site I get an updated version.
Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat
@ Acorn: Agree Acorn but how many Xara users know how & why to do this?The changed page can include an HTML META to force a refresh for everyone.
@ Miko:No you don't necessarily, you would normally load a cached version of the site from your local computer from your previous visit. So unless you change the meta info as Acorn suggests the old site will be rendered.When I visit a regular site I get an updated version.
Egg
Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
So, yesterday I needed to add some information to my site. I opened Xara, I then added some information to one page. I saved the site to a local folder. I then uploaded just the changed page to my server. I then opened my web browser and went to my site. I then went to the page that I had updated and low and behold there was the updated page. I would suggest that the OP do just the same.
Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat
But isn't this always a problem? I maintain a school website and if users don't load the latest version of say the school diary, and the old one is cached, they just see the old information. Trouble is that not many users even know how to refresh and work round the cache.
Philip
That's when .htaccess expire headers come into their own. Something like a diary needs a very short shelf life. So if the diary was a pdf file:
Or place the following on the page head placeholder as suggested by Acorn:ExpiresByType application/pdf "access plus 1 day"
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
Egg
Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
Bookmarks