Author Topic: web site now I need to use shift / reload to get new content ?  (Read 1265 times)

0 Members and 1 Guest are viewing this topic.

Offline Total

  • Web dude ..
  • Senior Contributor
  • ****
  • Posts: 151
    • weather station ..
Hello ALL ; On my web site at https://www.strutherslakeweather.ca , I will load fine but later when I return . The left side by Smokey the Bear loads in fine , but the right side you have to press Shift / reload to get everything up to date . Tried different browser / computers with the same result . Ideas ? thanks 

Offline davidefa

  • Forecaster
  • *****
  • Posts: 436
Re: web site now I need to use shift / reload to get new content ?
« Reply #1 on: July 28, 2022, 05:52:47 PM »
You should have some cacheing enabled on your server that is causing this ( check in your hosting control panel )

Offline Total

  • Web dude ..
  • Senior Contributor
  • ****
  • Posts: 151
    • weather station ..
Re: web site now I need to use shift / reload to get new content ?
« Reply #2 on: July 28, 2022, 10:28:29 PM »
All fixed , added this to the htaccess file

# DISABLE CACHING
<IfModule mod_headers.c>    
Header set Cache-Control "no-cache, no-store, must-revalidate"    
Header set Pragma "no-cache"    
Header set Expires 0
</IfModule>