On 9/8/06, Kris
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> Rendering small amounts of markdown is VERY slow, e.g. 0.2+ seconds for
> about 4 lines of markdown with very little formatting.
>
> Is this a known issue? How do you work around it? Do you format before
> save or during render?
Yes, it''s extremely slow. One of the better options you have is to
have a separate column in the database for storing the formatted
version, which you save when the unformatted version is changed. There
was a plugin like "filtered_column" for this, but it''s a
really easy
hook to add in anyway.
Alternatively, you can use fragment caching to cache the portions of
pages you run through markdown.
> Thanks
Sincerely,
Tom Lieber
http://AllTom.com/
http://GadgetLife.org/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---