Hello,
In orbeon xforms engine, This will create many java object in server and a HTML Page to client. I want to cache these java object and html page in some case for next request. For example:
1. First Reqest a page:
Do it like standard orbeon xforms engine; cache some java objects and html result witch output to client.
2. reqeust same page:
Get cached java objects and cached html result; do some thing for cached java objects(for example: create dynamic state); do some thing for html result(for example: modify dynamic state value), and output html result;
The problem is that: What is it cached java object ? Is XFormsContainingDocument? Or XFormsStaticState? Or Other ?
[广告] 重奖 悬赏kfc3v3 球衣 -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Caching is not easy to achieve in general, and I fear I don't
understand the question well enough to make a proper answer. -Erik On Nov 27, 2008, at 11:52 PM, hechengrong wrote: > Hello, > In orbeon xforms engine, This will create many java object in > server and a HTML Page to client. I want to cache these java object > and html page in some case for next request. For example: > 1. First Reqest a page: > Do it like standard orbeon xforms engine; cache some java > objects and html result witch output to client. > > 2. reqeust same page: > Get cached java objects and cached html result; do some thing > for cached java objects(for example: create dynamic state); do some > thing for html result(for example: modify dynamic state value), and > output html result; > > The problem is that: What is it cached java object ? Is > XFormsContainingDocument? Or XFormsStaticState? Or Other ? > > > > [广告] 重奖 悬赏kfc3v3 球衣 > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
I just want to cache xforms engine state and result html for a xforms page. When next processing same xforms page, It will reload cached xforms engine state and cached html instead of process this xforms page.
在2008-11-29,"Erik Bruchez" <[hidden email]> 写道: >Caching is not easy to achieve in general, and I fear I don't >understand the question well enough to make a proper answer. > >-Erik > >On Nov 27, 2008, at 11:52 PM, hechengrong wrote: > >> Hello, >> In orbeon xforms engine, This will create many java object in >> server and a HTML Page to client. I want to cache these java object >> and html page in some case for next request. For example: >> 1. First Reqest a page: >> Do it like standard orbeon xforms engine; cache some java >> objects and html result witch output to client. >> >> 2. reqeust same page: >> Get cached java objects and cached html result; do some thing >> for cached java objects(for example: create dynamic state); do some >> thing for html result(for example: modify dynamic state value), and >> output html result; >> >> The problem is that: What is it cached java object ? Is >> XFormsContainingDocument? Or XFormsStaticState? Or Other ? >> >> >> >> [广告] 重奖 悬赏kfc3v3 球衣 >> -- >> You receive this message as a subscriber of the [hidden email] >> mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> OW2 mailing lists service home page: http://www.ow2.org/wws > >-- >Orbeon Forms - Web Forms for the Enterprise Done the Right Way >http://www.orbeon.com/ > 网易免费邮,全球最大的中文免费邮箱 -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |