Sun Jun 20 2010 - Playing With Server Headers
Playing With Server Headers


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 :-)


Comments (7)

cpthereturn (Legacy)
When 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...
Yetzirah (Legacy)
I 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....

Salamander (Legacy)
Uh...do those entries come with English subtitles? (*grin*)
Salamander (Legacy)
Any word when HamiPiks will be up and running for uploads again?
Salamander (Legacy)
Yeah, 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?
deardiary1 (Legacy)
Testing If-Modified-Since - please ignore :-)
deardiary1 (Legacy)
testing again
 
 
 
Home
Search
Entries
Get Your Diary