Opened 14 years ago
Last modified 12 years ago
#7707 closed enhancement
performance impprovement — at Initial Version
Reported by: | anonymous | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Component: | TracWysiwygPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
I would like to not load wysiwys java script to view wiki and others. They don't need wysiwyg.js and avoid loading java script improve performance a bit.
Here is sample for init.py. Please improve it.
# IRequestFilter#post_process_request def post_process_request(self, req, template, data, content_type):
+ if not (req.args.get('action', None)=="edit" or req.path_info.startswith(r'/newticket') or req.path_info.startswith(r'/ticket/')): + return (template, data, content_type)
options = {} optionsescapeNewlines? = False
regargds,
Takashi Okamoto
Note: See
TracTickets for help on using
tickets.