Home > FAQs > Should the framework call getModel multiple times as a page renders |

Apache Struts 2 Documentation
Should the framework call getModel multiple times as a page renders
Edit Page Browse Space Add Page Add News

Right now, the expression language (OGNL) will call `getModel`, or any other Value Stack property, each time the method is referenced. One possible enhancement to the framework would be to enable caching, to avoid redundant calls when you know the value will not change.