we are including the markdown code on everry request, even though it is used on most pages. remember that drupal's does filter cache. see this change from textile module where it fixed the same problem - http://cvs.drupal.org/viewcvs/drupal/contributions/modules/textile/texti.... just require the files in the function(s) wher eyou need them.

Comments

moshe weitzman’s picture

Title: poor perforance - don't include unneeded code » poor performance - don't include unneeded code
teradome’s picture

Good point, I can move the requires into the _process function.
Will check this in once my machine returns from repairs. :)

teradome’s picture

Assigned: Unassigned » teradome
teradome’s picture

Status: Active » Fixed

Fixed in 4.7. Change has been committed and should appear in 4.7 package shortly.

Anonymous’s picture

Status: Fixed » Closed (fixed)