Any advice what has worked for you when dealing with user-entered markup, e.g. wiki or markdown. I have both CPU & database space costs, so I'm not sure which way to go.
Store markup in database & render to html on the server for each pageview. (Less database space but more CPU usage)
Store markup in database & render to html on the client using javascript. (Possibly more difficult to implement)
Store just the rendered html in the database & convert back to markup if editing required. (Again, possibly tricky to implement).
Store both html & markup in the database. (Double the database space).
Something else.
(I'm using MFC & Linqtosql).