Visual Builder

Get Involved. Join the Conversation.

Topic

    Mayank Srivastava
    Use of Oracle Offline Persistence Toolkit in visual builder...
    Topic posted October 23, 2019 by Mayank SrivastavaGreen Ribbon: 100+ Points, last edited October 23, 2019, tagged Custom Code, JET 
    12 Views, 3 Comments
    Title:
    Use of Oracle Offline Persistence Toolkit in visual builder for Caching
    Summary:
    Use of Oracle Offline Persistence Toolkit for Caching
    Content:

    I have a auto suggest textbox on multiple pages of my application. Content to be displayed for autosuggest is preloaded with the application load and gets displayed. I have added the action chain at the application level since user can load any page directly so adding the action chain to home page will not work.

    Now the problem is that on each page change that action chain gets called which results in some latency. Is there a way we can use oracle offline persistence toolkit in such case that once the content is loaded then service is not called each time on page change.

    Please let me know if any more details are required.

    Comment

     

    • Preetesh Dongre

      Hi Mayank,

      I am not sure if I get your scenario completely, if you are preloading the content at application load why will it get load again on page change? However simplest solution I could think of is put a check if the contents are preloaded then don't load it again, just putting a condition won't result in a latency.

      Regards,

      Preetesh

      • Mayank Srivastava

        It gets loaded again as I have added the action chain on vb enter event at application level.

        We can put a check if content are pre loaded then we can return but my application supports multiple language and if user changes the language and loads the application then it should again fetch the data according to the locale selected.

        can we use oracle offline persistence toolkit in this scenario to avoid loading it each time on page change.

        Thanks,

        Mayank