Showstopper: Cache not clearing, content not available.

Request Type: 
Bug Fix
Author: 
Mike Slattery
Issue/Request: 

Hi Yalesites Crew,

I have to manually attach a query string to get the latest content on pages for the above site.   

This is true even with a fresh device (phone, etc.) that hadn’t accessed this site previously.

I have hit the admin ‘Flush all caches’ item, the ‘page and else’ item, and the button on admin/config/development/performance.

Thanks in advance!
Mike

Hi Mike,

Is this now displaying the current content or did it not work after you flushed the cache from the admin menu?

Alyssa

Guys, it looks like the drupal cache tries to do the right thing…

But maybe the vendor has an edge cache that is being greedy for anon users?

ANON: I see x-cache: HIT even with x-drupal-cache: MISS

CAS: I see x-cache: MISS

(and the anon cache setting in Performance must be watchdogged because it won’t accept changes)

Request has pragma: no-cache

REQUEST

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.5
Cache-Control: no-cache
Connection: keep-alive
Cookie: …
Host: tri.yale.edu
Pragma: no-cache
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:59.0) Gecko/20100101 Firefox/59.0

RESPONSE

HTTP/2.0 200 OK
accept-ranges: bytes
age: 16232
cache-control: public, max-age=21600
content-encoding: gzip
content-language: en
content-length: 10913
content-type: text/html; charset=utf-8
date: Fri, 06 Apr 2018 12:57:12 GMT
drupal-pagecache-memcache: MISS
etag: “1523003199-0”
expires: Sun, 19 Nov 1978 05:00:00 GMT
last-modified: Fri, 06 Apr 2018 08:26:39 GMT
link: </welcome>; rel=”canonical”,</node/1>; rel=”shortlink”
server: nginx
vary: Cookie,Accept-Encoding
via: 1.1 varnish-v4
x-ah-environment: prod
x-cache: HIT
x-cache-hits: 19
x-content-type-options: nosniff
x-drupal-cache: MISS
X-Firefox-Spdy: h2
x-frame-options: SAMEORIGIN
x-generator: Drupal 7 (http://drupal.org)
x-request-id: v-3a7fb26a-3974-11e8-8029-0a872ce2bf62
x-varnish: 26151342 28180519