Chrome issue

Hi, I’m updating a site with a regular newsletter page a couple of times a month but the client is still seeing older new stories at the top instead of the new story! They use Chrome and say that there software is up to date.

Everything looks fine my end so I don’t now what they are going to see which is causing issues for me with the customer!

Any ideas?

Thanks
Jay

http://www.abbeylogisticsgroup.com/news.html


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Hi Jay,

this is most likely a caching issue, that is the web server isn’t sending the correct cache control headers.

Here’s a header dump:

duncan$ curl --head Road Tanker News - Abbey Logistics Group
HTTP/1.1 200 OK
Server: nginx/1.10.2
Date: Thu, 24 Nov 2016 10:34:33 GMT
Content-Type: text/html
Content-Length: 29068
Connection: keep-alive
Last-Modified: Wed, 23 Nov 2016 16:10:59 GMT
Accept-Ranges: bytes
Vary: Accept-Encoding

It should include an “Expires” such:

Expires: Thu, 24 Nov 2016 10:40:38 GMT

If your web host lets you configure server caching policy via a .htaccess file then putting a file named “.htaccess” with these contents in the root of your site might help:

# expire html immediately ExpiresActive On ExpiresByType text/html "access plus 0 seconds" # images, css and js for 7 days ExpiresDefault "access plus 7 days" Header set Cache-Control "public, max-age=604800"

(the server reports as nginx, which doesn’t directly support .htaccess, but the web host setup might be such that there’s an apache server on their backend and nginx is just a server-side caching frontend)

Otherwise you might try asking your web host how to have the server produce the correct caching headers.

Duncan
http://sparkle.cx http://sparkle.cx/ (<- on sale for black friday!)


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Hi Duncan,
Thanks for your knowledge on this. I can only half get my head around your answer to the problem if I’m being honest! Would I need to contact the web host and explain the issue or do I need to re name the pages every time I amend the site so it know which is the latest.

Many thanks
Jay


freewaytalk mailing list
email@hidden
Update your subscriptions at:

Thanks for your knowledge on this. I can only half get my head around your answer to the problem if I’m being honest! Would I need to contact the web host and explain the issue or do I need to re name the pages every time I amend the site so it know which is the latest.

Contacting the web host might be the best way to solve it.

Duncan
http://sparkle.cx http://sparkle.cx/


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options