You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2020/03/19 18:41:00 UTC

[jira] [Updated] (ISIS-2058) Pre-render home page to avoid wait when first hit webapp after bootstrapping

     [ https://issues.apache.org/jira/browse/ISIS-2058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Keir Haywood updated ISIS-2058:
--------------------------------------
    Fix Version/s:     (was: 2.1.4)

> Pre-render home page to avoid wait when first hit webapp after bootstrapping
> ----------------------------------------------------------------------------
>
>                 Key: ISIS-2058
>                 URL: https://issues.apache.org/jira/browse/ISIS-2058
>             Project: Isis
>          Issue Type: Improvement
>          Components: Isis Viewer Wicket
>    Affects Versions: 1.16.2
>            Reporter: Daniel Keir Haywood
>            Priority: Minor
>
> You can try by rendering the home page in a separate thread during the bootstraping
> You need to use ComponentRenderer#renderPage(app.getHomePage())
> you can do this for any of Isis' pages. You just need to provide their input if they require such
>  
> It is a static method and it creates an artificial RequestCycle for its needs (so it doesn't need an HTTP thread)
> [this is an cool idea for a small WicketStuff project that uses Wicket IInitializer to render the home page in the background as soon as the app is started]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)