One of the things the DearDiary code really is pretty poor at is dealing with the modern world. The original codebase was written in 1999, long before HTTP/1.1 was in widespread use. Which means a lot of the HTTP headers we send out aren't utilising a lot of the more modern cache control headers, whereas we rely on the older HTTP 1.0 cache control headers. Those old headers aren't as flexible, or reliable. So I've been playing with the newer ones.
If it works properly, it should speed up reading of entries you've already read recently - and it should enable DD to play nicer with ISPs proxy's too.
But it might mean I broke something - so if you notice things going weird please let me know :-)
DearDiary1
Dear Diary.Net Admin Diary
Playing With Server Headers
Sun Jun 20 2010
7 Comments
- From:Cpthereturn (Legacy)On:Sun Jun 20 2010When I log in to a friends only entry it says I've been sucessful and I will be redirected. Except I'm not - if I then click on 'home' it takes me to the entry...
- From:Yetzirah (Legacy)On:Sun Jun 20 2010I am very grateful that YOU know what you just wrote, because it's enigmatic to me... ;-)
SOMEBODY needs to know how this thing really works!
Thanks for being that person....
- From:Salamander (Legacy)On:Sun Jun 20 2010Uh...do those entries come with English subtitles? (*grin*)
- From:Salamander (Legacy)On:Sun Jun 20 2010Any word when HamiPiks will be up and running for uploads again?
- From:Salamander (Legacy)On:Mon Jun 21 2010Yeah, me again. Does that last entry explain why I see that I have nine comments when I look at my latest post, but only eight comments will display?
- From:Deardiary1 (Legacy)On:Mon Jun 21 2010Testing If-Modified-Since - please ignore :-)
- From:Deardiary1 (Legacy)On:Mon Jun 21 2010testing again