#53 TemplateCache does not cache negative hits...

closed
nobody
None
5
2008-05-08
2007-08-24
Anonymous
No

I see from profiling results when using struts2 that a significant portion of the total page runtime is spent whithin freemarker looking for templates that do not exist (15-30% of total request processing time give or take some).

I believe the problem could be fixed by letting the TemplateCache also cache negative responses.

The enclosed code is a *suggestion* to how this may be solved. It is not tested.

kristianATzeniorDOTno

Discussion

  • Dániel Dékány

    Logged In: YES
    user_id=546667
    Originator: NO

    Improvement released with 2.3.13.

     
  • Dániel Dékány

    • status: open --> closed
     

Log in to post a comment.