8878bd692b85202daa3d82749d18d00eb8de8b82 angie Mon Jun 24 12:06:03 2019 -0700 Use webTimeStampedLinkToResource for CSS files in jWestHeader.h{,tml} so they don't get stale in cache. refs #17956 diff --git src/hg/lib/web.c src/hg/lib/web.c index 0165017..2e8fc08 100644 --- src/hg/lib/web.c +++ src/hg/lib/web.c @@ -453,31 +453,33 @@ } static void webStartGbOptionalBanner(struct cart *cart, char *db, char *title, boolean doBanner, boolean hgGateway) /* Start HTML with new header and footer design by JWest. Optionally display banner above menubar. Use flag with hgGateway, till that is migrated. */ { puts("Content-type:text/html\n"); char *csp = getCspMetaHeader(); if (hgGateway) { printf( #include "jWestHeader.h" - , csp, title); + , csp, title + , webTimeStampedLinkToResource("HGStyle.css", TRUE) + , webTimeStampedLinkToResource("jWest.css", TRUE)); } else { printf( #include "gbHeader.h" , csp, title); } if (doBanner) { printf( #include "jWestBanner.h" , title); } freeMem(csp);