Skip to main content
5 of 8
Update
Jonas Czech
  • 12.3k
  • 4
  • 36
  • 58

The answer I'm writing exceeds the 30k maximum character limit; what should I do?

I've written a very long answer, with a lot of details - Now, I want to add even more, but, when I pasted the latest version of my answer into the edit box, it told me that answers are not allowed to be longer than 30k characters:

Screenshot

Some details about my answer:

  • It's a list of things that can be done in order prevent or deter something (website scraping).

  • There's very little code, and most of the text isn't code.

Some possibilites I've come up with:

  1. Post a longer version of my answer somewhere else, and link to it - however this would mean more effort to maintain two differs versions, and I don't really like this idea.

  2. Try to make it fit into 30k characters - this would be quite some effort, and not a really a long-term solution, as I will inevitably want to add to it.

  3. Post it somewhere else (for example, a blog), and delete it from Stack Overflow - I don't really like this solution, since I love Stack Overflow, I don't have a blog, and I've got a feeling that nobody will ever see it and benefit from it. (And I wouldn't get reputation points for it ;-))

  4. Just leave it as is - However I don't really like the idea leaving it as is when I could improve it (in fact, I already have improved it).

  5. Just continue in a second post.

So, what should I do? Is this kind of answer even appropriate for Stack Overflow?

This is the answer: How do I prevent site scraping?

(I've also put the latest version on GitHub, which is around 40k characters).

As a bit of an update: I've now done what Joe and others have suggested: I've trimmed down the answer, removed a lot of fluff and some of the less important points, and I've added a link to the GitHub page with the more complete version. Thank you all for your input and opinion, and I now know a lot more about Stack Overflow than I did before :-)

Jonas Czech
  • 12.3k
  • 4
  • 36
  • 58