wysiwyg_profile_load() does a query for each text format when viewing text fields (which includes node/n pages when you have comment module enabled and the comment form on that page). Attached patch caches the results, clears it from the admin form submit, and does a single query to get all formats if there's a cache miss.

Files: 

Comments

StatusFileSize
new1.85 KB

Minus syntax errors.

Looks fine.

Status:Needs review» Fixed

Thanks for reporting, reviewing, and testing! Committed with a couple of corrections to HEAD.

A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.