What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 131 Stack Exchange communities.

As per the title, curious about any implementation details that can be revealed.

I don't see any details in the StackExchange Data Explorer that indicate how they might be stored.

Particularly, I'm curious about whether or not it's stored on the client side, the server side, a combination of the two (e.g. a cookie that the server uses) and any underlying details that can be exposed.

share|improve this question
1  
Can this be made a faq? –  Shadow Wizard Jan 25 '12 at 13:51

2 Answers 2

up vote 8 down vote accepted

Drafts are stored in redis for 7 days.

For anonymous we use cookie to track the user.
For non anonymous we use the user id.

We ship it to the server in the heartbeat (once a minute or so), the heartbeat also notifies you when new answers were added in the banner on the top.

We only store drafts for new answers and new questions, not for edits.

share|improve this answer
    
What is “redis” ? –  Nicolas Barbulesco Jun 21 '13 at 0:16
    
Too bad that edits don't get auto-saved. So I just lost a long and nice writing of an answer (thanks to a Web browser crash), and I will not write it again. –  Nicolas Barbulesco Jun 21 '13 at 0:18

I don't know everything, but I can answer your specific question: it's on the server side. You can save a draft on one computer and load it on another.

Ah, apparently waffles confirmed this in a comment under this answer:

@waffles: Is the draft-saving implemented server-side or client-side? – Jon Seigel Nov 23 '10 at 23:32
@Jon .... server side – waffles♦ Nov 24 '10 at 14:44

share|improve this answer
1  
Many thanks, am looking for more specific details of course, but thanks for getting it rolling. –  casperOne Nov 4 '11 at 14:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .