For optimal performance req.chrome should be evaluated only if necessary.
|Reported by:||Olemis Lang||Owned by:||Olemis Lang|
|Severity:||minor||Keywords:||chrome css script|
|Cc:||peter@…, Gary Martin||Trac Release:||1.0|
When the plugin is installed and active it's post_process_request() will be invoked for every request. AFAICT there is nothing in that code that would differentiate requests (API vs UI requests) so add_stylesheet() will be called for all of them which then calls add_link() that evaluates req.chrome.
mentioned in BH:comment:3:ticket:330