Modify

Opened 3 years ago

#9765 new enhancement

Locate tt_newticket.js under chrome so that it is treated as a static cacheable resource

Reported by: rjollos Owned by: richard
Priority: normal Component: TracTicketTemplatePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

This is essentially the same ticket that I opened in #9764 for the QuietPlugin.

I've done some work over in #7617 with help from hasienda to improve the page load times when using the DateFieldPlugin. We replaced a virtual script (template) with a script and used add_script_data that is available now in Trac 0.12 to pass data to the script. The result is (and I barely know what I'm talking about here), the js file is under chrome and is treated as a cacheable static resource, resulting in improved page load times. I put a lot of info in #7617, documenting the improvements that I saw.

I'm thinking the same is probably possible here, though I haven't really looked at your source code much to see how you were doing things.


Attachments (1)

TicketTemplate.png (17.8 KB) - added by rjollos 3 years ago.

Download all attachments as: .zip

Change History (1)

Changed 3 years ago by rjollos

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.