You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by dick_hu <di...@gmail.com> on 2011/10/18 14:09:51 UTC
Dynamic pages to static
I want to change some of my dynamic pages to static.
Has any Tapestry integration about Dynamic pages to static ?
Can anyone tell me,thank you very much.
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Dynamic-pages-to-static-tp4913427p4913427.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Dynamic pages to static
Posted by dick_hu <di...@gmail.com>.
For example, this nabble forum's current url is
"http://tapestry.1045711.n5.nabble.com/Tapestry-User-f2375125.html". In fact
it is a dynamic page,but it's suffix is .html as a static page.
It must a background program generate the html to reduce some db operate.
Has any tapestry integration can do this.
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Dynamic-pages-to-static-tp4913427p4914249.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Dynamic pages to static
Posted by Steve Eynon <st...@alienfactory.co.uk>.
I have to ask the obvious question of "Why?"
If you're seeing performance issues, I think we'd all like to hear
more details...
Steve.
On 18 October 2011 22:21, dick_hu <di...@gmail.com> wrote:
>
> pieter wrote:
>>
>> Just add a static page to your webapp folder should work
>>
>> http://tapestry.apache.org/request-processing.html
>> http://tapestry.apache.org/request-processing.html
>>
>> "StaticFiles checks for URLs that are for static files (files that exist
>> inside the web context) and aborts the request, so that the servlet
>> container can handle the request normally."
>>
> Thanks for your reply.
> Maybe you don't understand me.
> I mean change the "tml" pages to static to improve performance.
>
> eg. When I click to a page, it can automatic skip to the relative static
> (.html) page that convert from the tml page.
>
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Dynamic-pages-to-static-tp4913427p4913842.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Dynamic pages to static
Posted by dick_hu <di...@gmail.com>.
pieter wrote:
>
> Just add a static page to your webapp folder should work
>
> http://tapestry.apache.org/request-processing.html
> http://tapestry.apache.org/request-processing.html
>
> "StaticFiles checks for URLs that are for static files (files that exist
> inside the web context) and aborts the request, so that the servlet
> container can handle the request normally."
>
Thanks for your reply.
Maybe you don't understand me.
I mean change the "tml" pages to static to improve performance.
eg. When I click to a page, it can automatic skip to the relative static
(.html) page that convert from the tml page.
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Dynamic-pages-to-static-tp4913427p4913842.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Dynamic pages to static
Posted by pieter <pi...@atos.net>.
Just add a static page to your webapp folder should work
http://tapestry.apache.org/request-processing.html
http://tapestry.apache.org/request-processing.html
"StaticFiles checks for URLs that are for static files (files that exist
inside the web context) and aborts the request, so that the servlet
container can handle the request normally."
--
View this message in context: http://tapestry.1045711.n5.nabble.com/Dynamic-pages-to-static-tp4913427p4913464.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org