Skip to Content

How can I cache Personas silverlight package (.xap) in NWBC webclient?

Performance issue

--------------------------

I have a NWBC web portal in which one of the tabs have been shortlinked to a SAP Screen Personas flavor.

I notice that everytime I switch to the tab, the silverlight package (.xap) is getting downloaded to the browser which takes around a minute.

Is there any setting by which I can cache the .xap file upon first download?

Please advice,

Pradeep

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 15, 2015 at 09:32 AM

    I would love to know if there is an answer to this as well...

    Add comment
    10|10000 characters needed characters exceeded

    • In PFCG transaction, we can embed Personas in NWBC as a URL node (by mentioning 'Web address or file' instead of 'BSP Application') in the following format


      http://<SERVER>:<PORT>/sap/bc/bsp/persos/mainapp/nwbc.html

      and add the optional parameters


      link = <Shortlink ID>                             (This is to point to a specific flavor of a transaction)
      skipcloseconfirmation = true                 (This is to avoid confirmation pop-up while switching tabs in NWBC)

      Also, in case of NWBC for HTML, we can create an external alias for ICF node 'BSP'.

      In such a case, we just need to replace /bsp/ in the URL with /<aliasname>/

      This will help with caching as Personas BSP application is stateless by design and creates a new session ID everytime.

      By creating an external alias, NWBC for HTML will no longer add external session ID.