Hi Tim, What headers are you passing in a typical request? Usually a 304 is returned when you pass If-Modified-Since and/or If-None-Match as HTTP headers since that is the server's default response assuming a copy already exists client side.
Andrew On Thursday, 19 February 2015, Tim Dunphy <[email protected]> wrote: > Hey varnish folks, > > > It's been brought to my attention at the company that I work for that > entries with '304' status in them keep turning up in the varnish log > (/var/log/varnish.log). > > Such as what you see here: > > 198.173.160.79 - - [18/Feb/2015:22:57:21 -0500] "GET > http://www.mycompany.com/sites/all/themes/adaptivetheme/at_core/css/at.layout.css?njxh61 > HTTP/1.1" 304 0 "http://www.mycompany.com/privacy/mobile-apps/" > "Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_2 like Mac OS X) > AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B440 > Safari/600.1.4" > 198.173.160.79 - - [18/Feb/2015:22:57:21 -0500] "GET > http://www.mycompany.com/sites/all/themes/company/css/global.base.css?njxh61 > HTTP/1.1" 304 0 "http://www.mycompany.com/privacy/mobile-apps/" > "Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_2 like Mac OS X) > AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B440 > Safari/600.1.4" > 198.173.160.79 - - [18/Feb/2015:22:57:21 -0500] "GET > http://www.mycompany.com/sites/default/files/adaptivetheme/company_files/company.default.layout.css?njxh61 > HTTP/1.1" 304 0 "http://www.mycompany.com/privacy/mobile-apps/" > "Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_2 like Mac OS X) > AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B440 > Safari/600.1.4" > 198.173.160.79 - - [18/Feb/2015:22:57:21 -0500] "GET > http://www.mycompany.com/sites/all/libraries/superfish/style/default.css?njxh61 > HTTP/1.1" 304 0 "http://www.mycompany.com/privacy/mobile-apps/" > "Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_2 like Mac OS X) > AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B440 > Safari/600.1.4" > 198.173.160.79 - - [18/Feb/2015:22:57:21 -0500] "GET > http://www.mycompany.com/sites/all/themes/company/css/global.styles.css?njxh61 > HTTP/1.1" 304 0 "http://www.mycompany.com/privacy/mobile-apps/" > "Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_2 like Mac OS X) > AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B440 > Safari/600.1.4" > 198.173.160.79 - - [18/Feb/2015:22:57:21 -0500] "GET > http://www.mycompany.com/sites/all/themes/company/css/global.styles2.css?njxh61 > HTTP/1.1" 304 0 "http://www.mycompany.com/privacy/mobile-apps/" > "Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_2 like Mac OS X) > AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B440 > Safari/600.1.4" > > > I tried obscuring the company name as you can tell. But what I'm wondering > is, is this a problem we should be concerned about? And if so, is there a > best way to go about correcting it? > > I'm not really sure the best place to start looking in my VLC file. But > I've included it as an attachment in case that helps. Not sure if people > really look at attachments you send to mailing lists. But it's there if you > want to see it! :-) > > Thanks! > Tim > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B > > --
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
