[recorded on 2008-02-07, all times are UTC+0100] 01:42 -!- foobared [secure@private-gw9.office.webfoundation.net] has joined #varnish 01:42 < foobared> Can someone help me........ 01:43 < foobared> req.request == "GET" && req.url ~ "/index.php?category=view&id=([^/]*)" 01:43 < foobared> req.request == "GET" && req.url ~ "/view/([^/]*)/?$" 01:43 < foobared> req.request == "GET" && req.url ~ "/view/" 01:43 < foobared> i tried all of those to stop /view/*.imageextensionetc 01:43 < foobared> and they are never cached i always see a hit in access logs of the server... 01:57 -!- mark [mark@tilia.nedworks.org] has quit [Ping timeout: 272 seconds] 02:05 -!- mark [mark@tilia.nedworks.org] has joined #varnish 02:06 < foobared> mark 02:15 < foobared> is someone ever here 02:23 < EvilDES> foobared: it's two in the morning. 02:24 < EvilDES> foobared: anyway, the only way to debug this is with logs 02:24 < EvilDES> foobared: Varnish logs, not backend logs 02:24 < foobared> i did varnishtop 02:25 < foobared> what should i look for 02:25 < EvilDES> foobared: logs 02:25 < EvilDES> foobared: varnishtop is useless to me 02:25 < foobared> It logs? 02:25 < EvilDES> foobared: I am not in your chair in front of your computer 02:26 < EvilDES> foobared: man varnishlog 02:26 < foobared> ok thanks 02:26 < foobared> sorry its frustrating not alot of docs. 02:31 < foobared> Ok.. im not sure but if it is catching.. it woulnt request items again when i do shift+reload ? 02:42 < foobared> i got .php to match... 02:43 < foobared> but in IE it shows 'new' page while force reload firefox does not after i did it on old page 02:43 < foobared> is it checking browsers or something? 02:43 < foobared> seems fishy 02:53 < foobared> i assume varnish is using some sort of browser check? 02:53 < foobared> if i wget file from 5 servers 1st will always show in access log even if i opened site before in firefox or w/e 02:54 < foobared> then all other wgets are fine 03:25 < EvilDES> foobared: correction 03:25 < EvilDES> foobared: not "not a lot of docs" 03:26 < EvilDES> foobared: the docs are there, in the form of manual pages 03:26 < EvilDES> foobared: not my fault if you didn't read them 03:26 < foobared> yes they are not user friendly 03:26 < foobared> period 03:26 < foobared> im not developer man 03:26 < EvilDES> foobared: fine, so write better ones 03:26 < foobared> I wish :| 03:27 < EvilDES> foobared: if you don't like our docs, I'm wondering what you're comparing us with 03:27 < EvilDES> foobared: since the only real competition is squid 03:28 < EvilDES> foobared: and I know the squid docs far too well 03:28 < foobared> Hell is your problem 03:28 < foobared> I'm end using trying your software 03:28 < EvilDES> Hell is a town in Northern Norway 03:28 < EvilDES> actually 03:28 < foobared> I'm not comparing you to anybody 03:28 < EvilDES> I've been there. 03:28 < foobared> I'm trying to make this work 03:29 < EvilDES> you won't make it work by disparaging the developers' efforts. 03:30 < EvilDES> here is how open source works: 03:30 < EvilDES> you get the software for free 03:30 < EvilDES> in return, you are required to be polite and respectful in your communication with the developers 03:32 < EvilDES> so 03:32 < EvilDES> what, exactly, did you not like about the documentation? 03:36 < foobared> I'm not polite because I think documentation is too verbrose? 03:37 < foobared> anyways i will go practise 03:42 < EvilDES> uh 03:42 < EvilDES> so far you haven't said anything about what's wrong with the documentation 03:43 < EvilDES> except that it is "not user friendly", which doesn't really tell me anything 04:25 < foobared> Ok... 04:25 < foobared> For example when I use different browser/wget it does not get cached page 04:25 < foobared> It gets a new version of the page then it becomes cached for that browser 04:25 < foobared> why 04:26 < foobared> There is nothing in documentation 04:26 < foobared> There no examples for some regex stuff for matching / dynamic scripts 04:26 < foobared> There no documentation on how to test if caching works (dynamic) 04:26 < foobared> I have to figure all of this out [a few hours later] 08:09 < foobared> Hmm 08:09 < foobared> I only set to cache /etc/* 08:10 < foobared> but i have wierd results when going outside of /etc/ (non cached) 08:10 < foobared> as in once user logs in it randomly decides if he is loigged in or not 08:10 < foobared> very wierd 08:11 < foobared> I did try to set header("Cache-Control: no-cache, must-revalidate"); once user is logged in 08:11 < foobared> no luck 08:12 < foobared> } 08:12 < foobared> if (obj.http.Pragma ~ "no-cache" || obj.http.Cache-Control ~ "no-cache" || obj.http.Cache-Control ~ "private") { 08:12 < foobared> ahh.. 08:13 < foobared> if i want one page i should probably pass; instead of look up if no matches 08:13 < foobared> brb [several hours later] 14:01 < foobared> how do i handle cookies and sessions for servers behind varnish 14:09 < EvilDES> foobared: man vcl 14:09 < foobared> No manual entry for vcl [OK, so you complain about the quality of documentation that you haven't even read?] 14:09 < EvilDES> foobared: sorry, I can't help you if you didn't install Varnish correctly 14:10 < EvilDES> foobared: meaning as described in the documentation on the web site 14:10 < foobared> thats great 14:10 < foobared> I followed that exacly 14:10 < foobared> And i know how to install the software any how. 14:10 < EvilDES> foobared: look, if you're unhappy with the documentation, tell us about it on the mailing list 14:11 < EvilDES> foobared: in the meantime, we simply don't have the time to help people who refuse to read the documentation. 14:15 < foobared> No I think you just being a dick 14:15 < foobared> And basicly should go back to coding not talking to people 14:15 < EvilDES> foobared: you are welcome to your opinion 14:16 < foobared> I been using FreeBSD probably longer then you, and by your logic your telling me I did not install your software properly.. because I can run everything but not view a manual? [note: I've used FreeBSD since 1996 and been a project member and sometimes officer since 1998, so that's a pretty tall claim] 14:16 < foobared> ridiculous 14:16 < EvilDES> foobared: longer than me? 14:16 < foobared> Yes does that hurt your ego 14:16 < EvilDES> foobared: longer even than phk perhaps? 14:16 < foobared> Fucking ego tripping kid. 14:16 < EvilDES> foobared: no, my ego is just fine 14:16 < foobared> I'm sure 14:17 < EvilDES> foobared: longer than phk? 14:17 < foobared> You been trying to inflate it and your dick here all day 14:17 < foobared> Fuck off 14:17 < EvilDES> foobared: are you aware that phk is one of the founders of the FreeBSD project? 14:17 < foobared> EvilDES, thats great 14:17 < foobared> I'm talking to YOU 14:17 < foobared> Work on your people skill 14:18 < EvilDES> foobared: right back at you. 14:18 < EvilDES> foobared: you may want to show a little more respect to people whom you are asking to help you for free. 14:18 < foobared> No 14:18 < foobared> Your not helping [I may not be helping, but he's still demanding that I do so, for free] 14:18 < foobared> Your being a dick for past 24 hours I been here 14:18 < foobared> So you can take your respect and shove it 14:19 < EvilDES> foobared: purely out of curiosity, when exactly did you start using FreeBSD? 14:19 < foobared> Why does it even matter 14:19 < foobared> Are you seriously retarded 14:20 < foobared> You are the most freaking idiot I met ever that contributes to a project 14:20 < EvilDES> foobared: well, you made a rather surprising claim, is it wrong of me to ask you to substantiate it? 14:20 < foobared> Jesus 14:20 < foobared> Get over it, god damn moron [at this point I decided, perhaps a bit late, that there was no point in further discussion] 14:20 < adam> foobared, you're not exactly inspiring people to help you, you know. 14:30 < foobared> That's probably the top of where I'm going to get. I been trying to figure this out for past 12 or so hours and you guys A) Tell me to read documentation which is.. too sparse which is OK but you do not want to expand on some topics that are not talked about in depth ? [the documentation is too sparse? just a few hours ago you were saying it was too verbose] 14:30 < foobared> Then you accuse me of not installing software properly because there is no manual available for it after installation 14:31 < foobared> And I was aware of man, and tried it without any luck so I had to open man/* from tar to read manually 14:31 < foobared> Then some dick head developer tries to get into pissing match over who used Freebsd longest [oh no, that was you] 14:32 < foobared> Good way to win some community support with all that bullshit 14:45 < adam> There are actually examples of how to handle cookies in vcl(7). 14:46 < adam> So it's obvious to assume you haven't read the docs. Enough, anyway. 14:47 < adam> But actually, when you start with the name calling, people's will to help drops dramatically. 14:47 < adam> The only thing you accomplish is getting people pissed at you. 14:49 < adam> And if you are the experienced superuser/sysadm you claim to be, you should know that an "RTFM" is not meant in a bad way, but rather as a " 14:50 < adam> "The answer's there, you just gotta look harder". 14:51 < adam> I seriously doubt that anyone was deliberately being a smartass. But you, otoh, was being, to use your own word, a dick. 14:52 < adam> Bottom line: Name calling gets you nowhere, fast. If you want help, be prepared to help yourself. It's a two-way process. Dialogue is the key word. [this is where I add adam to my christmas-card list]