id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 9765,Locate tt_newticket.js under chrome so that it is treated as a static cacheable resource,Ryan J Ollos,Ryan J Ollos,"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. [[Image(TicketTemplate.png)]]",enhancement,closed,normal,TracTicketTemplatePlugin,normal,fixed,,,0.11