SAPUI5 Caching

Hello All,
thanks for your time in reading this question. I wanted to know if anyone else knew of other options to disable caching on an XS app. I currently have done the following:
1) made sure server caching is disabled following: https://scn.sap.com/thread/3411878
2) xsaccess file contains "cache_control" : "no-store" and "enable_etags":false
3) chrome caching is diabled in my developer tools
I still experience caching issues when I am debugging some of my MVC views as I have multiple developers working on different views - 1 dev per view but still I see some old code when I debug my app on chrome. sometimes, that code isn't even on the repository. I have rules out server and client caching. is there anything on sapui5 doing this that anyone is aware of?  any help is appreciated
thank you
Sergio

Rahul_India wrote:
Caching is a new feature in 11G.I have recently migrated an application from sybase to oracle.
I want to how can i apply Caching We have to implement it explicitly?
db version-11gR2"Caching" is not a new feature. It is there at least since oracle 7. What you are referring to is the result caching. If I remember correctly then this did exist already in oracle 10g. But only for sql result caching. New in 11g is the possibility to influence the caching area/size and to cache function results. Similiar as it would be done with (global) hash tables in other programming languages.
How to use it is in the dokumnetation. In short you just add a <strike>pragma</strike>keyword result_cache to the function and oracle takes care of the rest. Very convinient.
You can also write selects in such a way that functions can profit from sql result caching. The function must be deterministic and then you call it like this
Instead of
select myfunction(col1) funcresult
from myTable;you can do
select (select myfunction(col1) from dual) funcresult
from myTable;In some specific cases this can be faster then version 1 because the result of the subselect will be cached.
Edited by: Sven W. on Oct 4, 2012 2:55 PM - pragma was the wrong terminology

Similar Messages

  • SAPUI5 Bootstrap Script Query For Application Cache Buster

    Hi,
    I am trying to implement Application Cache Buster. I am following Fiori Wave2 application structure.
    As Demokit says "To activate the Application Cache Buster the configuration data-sap-ui-appCacheBuster="./" must be added to the bootstrap script of the application page"
    But I don't get where to add the said configuration. I have Component.js(extends ComponentBase), Configuration.js, Main.view.xml and Main.controller.js. I am using "fioriSandboxConfig.json" to run the application.
    Any idea where to add the AppCacheBuster configuration?
    Kind regards,
    Rauf

    I think you have to add it to your index.html:
    <script src="https://sapui5.hana.ondemand.com/sdk/resources/sap-ui-core.js"
      id="sap-ui-bootstrap"
      data-sap-ui-libs="sap.m"
      data-sap-ui-theme="sap_bluecrystal"
      data-sap-ui-appCacheBuster="./">
      </script>
    Kind regards,
    Wouter

  • Error when using MII with SAPUI5

    I get the following error - "Unable to get value of the property 'getElementsByTagName':object is null or undefined
    <!DOCTYPE HTML>
    <HTML>
    <HEAD>
    <meta name="description" content="UI5 table example with local JSON model" />
    <meta http-equiv='X-UA-Compatible' content='IE=edge' />
    <meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
    <META http-equiv="X-UA-Compatible" content="IE=edge">
    <META http-equiv='cache-control' content='no-cache'>
    <META http-equiv='expires' content='0'>
    <META http-equiv='pragma' content='no-cache'>
    <TITLE>SAPUI5 Projects Status - Applications</TITLE>
    <SCRIPT type="text/javascript" src="/XMII/JavaScript/bootstrap.js" data-libs="i5Chart,i5Grid"
        type="text/javascript" src="/sapui5/resources/sap-ui-core.js" data-sap-ui-theme="sap_goldreflection"
                      data-sap-ui-libs="sap.ui.core,sap.ui.commons,sap.ui.commons,sap.ui.table">
    </SCRIPT>
    <script>
    var xmlHttp = new XMLHttpRequest();
    var xmlDOM;
      xmlHttp.open("GET","ProjectsStatus/Transactions/ProjectsStatus", false);
      xmlHttp.send();
      xmlDOM = xmlHttp.responseXML.documentElement;
    var opElement = xmlDOM.getElementsByTagName("Row")[0].firstChild;    <<<<<< I get error here - 'getElementsByTagName':object is null or undefined
    var aData = eval(opElement.firstChild.data); 
      /* Define the table, with toolbar controls, update button */ 
    var oTable = new sap.ui.table.DataTable("table", {  
      editable : true, 
      visibleRowCount :5
    oTable.setSelectionMode(sap.ui.table.SelectionMode.Multi); 
    oTable.setToolbar(new sap.ui.commons.Toolbar({items: [ 
    new sap.ui.commons.Button({text: "Update Data", press: updateData}), 
    new sap.ui.commons.Label({text: "First Visible Row"}), 
    new sap.ui.commons.TextField({tooltip: "First Visible Row", width: "30px", change: function(oEvent) { oTable.setFirstVisibleRow(parseInt(oEvent.getParameter("newValue"))); }}),  
    new sap.ui.commons.Label({text: "Visible Row Count"}), 
    new sap.ui.commons.TextField({tooltip: "Visible Row Count", width: "30px", change: function(oEvent) { oTable.setVisibleRowCount(parseInt(oEvent.getParameter("newValue"))); }}) 
    /* Define the table columns */  
    var oControl = new sap.ui.commons.TextView({text:"{Applications}"}); // short binding notation
    oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Applications"}), template: oControl, sortProperty: "lastName", filterProperty: "lastName", width: "100px"}));
    oControl = new sap.ui.commons.TextField().bindProperty("value", "PercentComplete"); // more verbose binding notationt
    oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "PercentComplete"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
    oControl = new sap.ui.commons.TextField().bindProperty("value", "Date_Due"); // more verbose binding notationt
    oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Date_Due"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
    oControl = new sap.ui.commons.TextField().bindProperty("value", "Testing_Due"); // more verbose binding notationt
    oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Testing_Due"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
    /* Define the JSON model */ 
    var oModel = new sap.ui.model.json.JSONModel(); 
    oModel.setData({modelData: aData}); 
    /* Connect the data table to the JSON model */ 
    oTable.setModel(oModel); 
    oTable.bindRows("modelData");     
    oTable.placeAt("content"); 
    /* Function to save the updated data in the grid.*/
    function updateData() { 
    /* get the selected row context  and using the context read the required values from the selected row*/ 
    var selRowContext = oTable.getContextByIndex(oTable.getSelectedIndex());  
    var selectedId = oModel.getProperty("giid", selRowContext); 
    var selectedApp = oModel.getProperty("application", selRowContext); 
    var selectedDate = oModel.getProperty("datedue", selRowContext); 
    document.icmd_common.setQueryTemplate("ProjectsStatus/MDO_Transactions/Projects_MDO_Select"); 
    var commCommandQueryTemplate =  document.icmd_common.getQueryObject(); 
    commCommandQueryTemplate.setParam(1, selectedApplications); 
    commCommandQueryTemplate.setParam(2,selectedPercentComplete); 
    commCommandQueryTemplate.setParam(3, selectedDate_Due); 
    commCommandQueryTemplate.setParam(4, selectedTesting_Due); 
    document.icmd_common.executeCommand(); 
    /* Display a success message */ 
    sap.ui.commons.MessageBox.alert("Actual quantity updated successfully.");  } 
    </script>
    </head>
    <body class='sapUiBody'>
    <h><b>Applications</b></h><br><br>
    <table style="width:100%">
      <div id='content1'></div>
    </table> <br><br><br>
    </body>
    <body class='sapUiBody'>
    <h><b>Applications Changes</b></h><br><br>
    <table style="width:100%">
      <div id='content2'></div>
    </table><br><br><br>
    </body>
    <body class='sapUiBody'>
    <h><b>Infrastructure Changes</b></h><br><br>
    <table style="width:100%">
      <div id='content3'></div>
    </table><br><br><br>
    </body>
    </html>

    <!DOCTYPE HTML>
    <HTML>
    <HEAD>
        <meta name="description" content="UI5 table example with local JSON model" />
        <meta http-equiv='X-UA-Compatible' content='IE=edge' />
        <meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
        <META http-equiv="X-UA-Compatible" content="IE=edge">
        <META http-equiv='cache-control' content='no-cache'>
        <META http-equiv='expires' content='0'>
        <META http-equiv='pragma' content='no-cache'>
        <TITLE>SAPUI5 Projects Status - Applications</TITLE>
    <SCRIPT type="text/javascript" src="/XMII/JavaScript/bootstrap.js" data-libs="i5Chart,i5Grid"
                 type="text/javascript" src="/sapui5/resources/sap-ui-core.js" data-sap-ui-theme="sap_goldreflection"
                            data-sap-ui-libs="sap.ui.core,sap.ui.commons,sap.ui.commons,sap.ui.table">
        </SCRIPT>
        <script>
            function PageLoad()
            GetMDoData();
        // create the DataTable control
            var oTable = new sap.ui.table.Table({editable:true});
            // define the Table columns
            var oControl = new sap.ui.commons.TextView({text:"{Applications}"}); // short binding notation
            oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Applications"}), template: oControl, sortProperty: "lastName", filterProperty: "lastName", width: "100px"}));
            oControl = new sap.ui.commons.TextField().bindProperty("value", "PercentComplete"); // more verbose binding notationt
            oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "PercentComplete"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
            oControl = new sap.ui.commons.TextField().bindProperty("value", "Date_Due"); // more verbose binding notationt
            oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Date_Due"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
            oControl = new sap.ui.commons.TextField().bindProperty("value", "Testing_Due"); // more verbose binding notationt
            oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Testing_Due"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
            // create some local data
            var aData = [
                {Applications: "WVL BOD 9212", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/23/2014" },
                {Applications: "WVL BOD 9211", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/24/2014" },
                {Applications: "WVL BOD 3303", PercentComplete: "75", Date_Due: "6/16/2016", Testing_Due: "6/25/2014" },
                {Applications: "ETW BOD 3304", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/26/2014" },
                {Applications: "CLE BOD 1902", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/27/2014" },
                {Applications: "ISO HAZ", PercentComplete: "80", Date_Due: "6/1/2014", Testing_Due: "6/8/2014" },
                {Applications: "ISO CWO", PercentComplete: "80", Date_Due: "6/01/2014", Testing_Due: "6/8/2014" },
                {Applications: "WVL 3 Stream ", PercentComplete: "60", Date_Due: "6/29/2014", Testing_Due: "" },
                {Applications: "ISO Integration", PercentComplete: "10", Date_Due: "6/1/2014", Testing_Due: "6/8/2014" },
                {Applications: "WVL 7 QM Charts", PercentComplete: "15", Date_Due: "6/15/2014", Testing_Due: "" },
                {Applications: "SCB PCO", PercentComplete: "100", Date_Due: "?", Testing_Due: "" },
                {Applications: "SCB Top Chart ", PercentComplete: "10", Date_Due: "5/20/2014", Testing_Due: "" },
                {Applications: "Project Status", PercentComplete: "25", Date_Due: "7/25/2014", Testing_Due: "" },
                {Applications: "WVL LOI", PercentComplete: "100", Date_Due: "4/20/2014", Testing_Due: ""},
                {Applications: "DSS (HTML5)", PercentComplete: "100", Date_Due: "3/31/2013", Testing_Due: ""},
                {Applications: "ETW 3304 BOD Pilot",PercentComplete: "100", Date_Due: "11/16/2013", Testing_Due: ""},
                {Applications: "HTMl 5 Table Tools",PercentComplete: "100", Date_Due: "2/12/2014", Testing_Due: ""},
                {Applications: "ISO JAX",PercentComplete: "100", Date_Due: "7/31/2013", Testing_Due: ""},
                {Applications: "ISO FEN",PercentComplete: "100", Date_Due: "1/10/2014", Testing_Due: ""},
                {Applications: "WVL QM Display",PercentComplete: "100", Date_Due: "2/12/2014", Testing_Due: ""},
        /* =================================== */
        /* Obtain Json object filled with Data*                             <<<<<< This is where it shows "no data" in the table
        /* =================================== */
                var xmlHttp = new XMLHttpRequest();
                var xmlDom;
               xmlHttp.open( "GET", "/XMII/Runner?Transaction=ProjectsStatus/Transactions/ProjectsStatus&OutputParameter=JSONData&Content-Type=text/xml", false );
                xmlHttp.send();
               xmlDom= xmlHttp.responseXML;
      // xmlDom = xmlHttp.responseText;
            // create a JSONModel, fill in the data and bind the Table to this model
    //      var oModel = new sap.ui.model.json.JSONModel();
            var oModel = new sap.ui.model.xml.XMLModel();
            oModel.setData({modelData: xmlDom});
            oModel.setXML(xmlDom);
            oTable.setModel(oModel);
            oTable.bindRows("/element"); //where element is the node that represents that data which forms each row of the table
            // finally place the Table into the UI
            oTable.placeAt("content1");
        </script>
            <script>
        // create the DataTable control
            var oTable = new sap.ui.table.Table({editable:true});
            // define the Table columns
            var oControl = new sap.ui.commons.TextView({text:"{Applications}"}); // short binding notation
            oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Applications"}), template: oControl, sortProperty: "lastName", filterProperty: "lastName", width: "100px"}));
            oControl = new sap.ui.commons.TextField().bindProperty("value", "PercentComplete"); // more verbose binding notationt
            oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "PercentComplete"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
            oControl = new sap.ui.commons.TextField().bindProperty("value", "Date_Due"); // more verbose binding notationt
            oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Date_Due"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
            oControl = new sap.ui.commons.TextField().bindProperty("value", "Testing_Due"); // more verbose binding notationt
            oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Testing_Due"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
            // create some local data
            var aData = [
                {Applications: "ISO IE11 BUG FIXES", PercentComplete: "0", Date_Due: "6/1/2014", Testing_Due: "" },
                {Applications: "ISO Fernley TimeOut", PercentComplete: "0", Date_Due: "6/1/2014", Testing_Due: "" },
                {Applications: "IE 11 Testing", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                {Applications: "IE 11 Testing_ISO Application", PercentComplete: "100", Date_Due: "5/16/2014", Testing_Due: "5/16/214" },
                {Applications: "IE 11 Testing_ISO DSS", PercentComplete: "100", Date_Due: "5/16/2014", Testing_Due: "5/16/214" },
                {Applications: "IE 11 Testing_BOD/EPAmericas", PercentComplete: "100", Date_Due: "5/16/2014", Testing_Due: "5/16/214" },
                {Applications: "IE 11 Testing_TOOLS", PercentComplete: "100", Date_Due: "5/16/2014", Testing_Due: "5/16/214" },
                {Applications: "IE 11 Testing_STATUS", PercentComplete: "100", Date_Due: "5/16/2014", Testing_Due: "5/16/214" },
            // create a JSONModel, fill in the data and bind the Table to this model
            var oModel = new sap.ui.model.json.JSONModel();
            oModel.setData({modelData: aData});
            oTable.setModel(oModel);
            oTable.bindRows("/modelData");
            // finally place the Table into the UI
            oTable.placeAt("content2");
        </script>
        <script>
        // create the DataTable control
            var oTable = new sap.ui.table.Table({editable:true});
            // define the Table columns
            var oControl = new sap.ui.commons.TextView({text:"{Applications}"}); // short binding notation
            oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Applications"}), template: oControl, sortProperty: "lastName", filterProperty: "lastName", width: "100px"}));
            oControl = new sap.ui.commons.TextField().bindProperty("value", "PercentComplete"); // more verbose binding notationt
            oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "PercentComplete"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
            oControl = new sap.ui.commons.TextField().bindProperty("value", "Date_Due"); // more verbose binding notationt
            oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Date_Due"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
            oControl = new sap.ui.commons.TextField().bindProperty("value", "Testing_Due"); // more verbose binding notationt
            oTable.addColumn(new sap.ui.table.Column({label: new sap.ui.commons.Label({text: "Testing_Due"}), template: oControl, sortProperty: "name", filterProperty: "name", width: "80px"}));
            // create some local data
            var aData = [
                {Applications: "CIMX", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                {Applications: "CIMX - Connections", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                {Applications: "CIMX - NWDI", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                {Applications: "CIMX - Security", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                {Applications: "CIMX - Integration", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                {Applications: "CIMID", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                {Applications: "CIMID - Connections", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                {Applications: "CIMID - NWDI", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                                        {Applications: "CIMID - Security", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                {Applications: "CIMID - Integration", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                {Applications: "CIMIP", PercentComplete: "99.5", Date_Due: "", Testing_Due: "" },
                {Applications: "CIMIP - Connections", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                {Applications: "CIMIP - NWDI", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                {Applications: "CIMIP - Security", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                {Applications: "CIMIP - Integration", PercentComplete: "98", Date_Due: "", Testing_Due: "" },
                {Applications: "CIM1", PercentComplete: "99.5", Date_Due: "", Testing_Due: "" },
                {Applications: "CIM1 - Connections", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                {Applications: "CIM1 - NWDI", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                {Applications: "CIM1 - Security", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                {Applications: "CIM1 - Integration", PercentComplete: "98", Date_Due: "", Testing_Due: "" },
                {Applications: "CIM2", PercentComplete: "85", Date_Due: "", Testing_Due: "" },
                {Applications: "CIM2 - Connections", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                {Applications: "CIM2 - NWDI", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                {Applications: "CIM2 - Security", PercentComplete: "90", Date_Due: "", Testing_Due: "" },
                {Applications: "CIM2 - Integration", PercentComplete: "50", Date_Due: "", Testing_Due: "" },
                {Applications: "CIM3", PercentComplete: "85", Date_Due: "", Testing_Due: "" },
                {Applications: "CIM3 - Connections", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                {Applications: "CIM3 - NWDI", PercentComplete: "100", Date_Due: "", Testing_Due: "" },
                {Applications: "CIM3 - Security", PercentComplete: "90", Date_Due: "", Testing_Due: "" },
                {Applications: "CIM3 - Integration", PercentComplete: "50", Date_Due: "", Testing_Due: "" },
                {Applications: "CIM4", PercentComplete: "85", Date_Due: "", Testing_Due: "" },
                {Applications: "CIM4 - Connections", PercentComplete: "0", Date_Due: "", Testing_Due: "" },
                {Applications: "CIM4 - NWDI", PercentComplete: "0", Date_Due: "", Testing_Due: "" },
                {Applications: "CIM4 - Security", PercentComplete: "0", Date_Due: "", Testing_Due: "" },
                {Applications: "CIM4 - Integration", PercentComplete: "0", Date_Due: "", Testing_Due: "" },
            // create a JSONModel, fill in the data and bind the Table to this model
            var oModel = new sap.ui.model.json.JSONModel();
            oModel.setData({modelData: aData});
            oTable.setModel(oModel);
            oTable.bindRows("/modelData");
            // finally place the Table into the UI
            oTable.placeAt("content3");
        </script>
        </head>
        <body class='sapUiBody'>
    <h><b>Applications</b></h><br><br>
    <table style="width:100%">
            <div id='content1'></div>
    </table> <br><br><br>
        </body>
        <body class='sapUiBody'>
    <h><b>Applications Changes</b></h><br><br>
    <table style="width:100%">
            <div id='content2'></div>
    </table><br><br><br>
        </body>
        <body class='sapUiBody'>
    <h><b>Infrastructure Changes</b></h><br><br>
    <table style="width:100%">
            <div id='content3'></div>
    </table><br><br><br>
        </body>
    </html>

  • Custom SAPUI5 app in Fiori launchpad - wrong resource path

    Hi,
    I have successfully add custom tile for my custom  app to Fiori launchpad, when the application is run from its location (https://<server>:<port>/sap/bc/ui5_ui5/sap/zcart3/index.html) everything is ok, when I try to execute it from Fiori launchpad tile I got these errors:
    Error - found in negative cache: 'view/App.view.js' from ../../resources/view/App.view.js: 404 - NOT FOUND
    I think it is because SAPUI5 tries to load files from wrong location, so I have to somehow tell SAPUI5 framework where the files are...
    in the index.html I have these entries:
    data-sap-ui-resourceroots='{
      "zcart3" : "./",
      "view" : "./view",
      "model" : "./model",
      "util" : "./util"
    I think I have to add something to Component.js file of my app .
    Many thanks Jiri
    Tags edited by: Michael Appleby

    Hi Sekihara,
    many thanks for your suggestion, but I don't want to create Fiori application, I want to add my existing SAPUI5 application (which is working standalone) to Fiori launchpad, but when exetutes from Fiori launchpad, I got this error:
    Error - found in negative cache: 'view/App.view.js' from ../../resources/view/App.view.js: 404 - NOT FOUND
    Because FioriLaunchpad changed path to my application files from
    /sap/bc/ui5_ui5/sap/zcart3 to /sap/bc/ui5_ui5/ui2/ushell/resources,so the files of my app are not found...
    please see chrome console output:
    GET https://<server>:<port>/sap/bc/ui5_ui5/ui2/ushell/resources/view/App.view.js 404 (NOT FOUND) core-min-0.js:32
    2014-07-31 08:22:36 Error - failed to load 'view/App.view.js' from ../../resources/view/App.view.js: 404 - NOT FOUND 
    Thanks Jiri

  • Data caching issue

    Hi,
    I am running a SAPUI5 application as a hwc using phonegap. I have three screens in my app.
    1. Main screen with a button to create object
    2. Form to fill in
    3. second form to fill in and create object
    When the submit button is clicked on page 3, I redirect to page 1 (app.to("pageOne")). However from there when I click the button to create a new object again, the form seems to have the previously filled values. Instead, they should be empty. I am guessing the values are being loaded from a cache, since the page is not being reloaded. I want to know how to sort this issue.
    How can I clear the cache? Or is there some other option? I want to make sure the form fields are all clear everytime I create a new object.
    Thanks.

    Hi,
    I am running a SAPUI5 application as a hwc using phonegap. I have three screens in my app.
    1. Main screen with a button to create object
    2. Form to fill in
    3. second form to fill in and create object
    When the submit button is clicked on page 3, I redirect to page 1 (app.to("pageOne")). However from there when I click the button to create a new object again, the form seems to have the previously filled values. Instead, they should be empty. I am guessing the values are being loaded from a cache, since the page is not being reloaded. I want to know how to sort this issue.
    How can I clear the cache? Or is there some other option? I want to make sure the form fields are all clear everytime I create a new object.
    Thanks.

  • SAPUI5 app - refresh on iPhone

    Hi,
    I have a problem with my SAPUI5 application, in production use, when I deliver new version, the old one is still cached on users smartphones (iPhone), I cannot ask them all to delete caches on their devices, lot of them even don't know how to refresh cache...How to solve this issue?
    Many thanks Jiri

    Hi Jiri,
    Please check the below link, it might be helpful.
    Cache Buster
    Regards,
    Madhumahesh.

  • UI5 negative cache

    Hi
    I am facing a problem with negative cache and UI5.
    "found in negative cache: 'sap.m.Tile' from /sapui5/resources/sap/m/library-preload.json/sap.m.Tile: TypeError: Object doesn't support this action!"
    Has anyone ever had a similar problem?
    best regards
    Thomas Maier

    Hi Marc
    Tried it a couple of times but still the same issue.
    best regards
    Thomas Maier

  • Error Message: Need to purge Cache in Adobe Bridge CC (on PC)

    I tried purging using Adobe Bridge by going to Edit/Preferences/Cache then purging, but it becomes non responsive.  The error message said the problem files were at Users/(my user name)/AppData/Roaming/Adobe/BridgeCC/Cache.   There are 4 files in there that are taking up 124 GB!  Can I simply delete these files or will it corrupt my regular files?  I tried doing as some other forums suggested and hold the ALT key down when opening Bridge before purging, but no luck.

    Yes, you can delete the cache files manually,  Just be advised that Bridge will become very, very slow until it finishes rebuilding its caches.  Depending on your files, that can take a few minutes or several hours.
    A good way of doing it is at night, so you can do it before going to bed and let Bridge rebuild caches overnight.
    If you can, save the cache files before deleting them to an external drive, so that you'll have them as backup if something goes wrong.

  • How do I stop Firefox from auto-loading websites on startup? Why doesn't it use the cache?

    When I open up Firefox, I see a row of "loading circles" swishing around. I don't want my browser to do this, because it slows down my internet connection, it's unnecessary 95% of the time (I often keep tabs open just to have quick access to some text), and sometime it's actually detrimental (for example, when the page has changed since the last time I loaded it, but I actually wanted the information from the former state of the page).
    How do I fix it so that Firefox uses the cached page instead of trying to load a new one?
    To clarify: I want Firefox to load the new page when I visit a bookmark, or click on a link to a page I've seen before, or press the reload button. I just don't want it to do this when all I've done is start up Firefox.
    Let the tabs sit there until I tell them to do something! Can anyone help?
    Using:
    Firefox 9.0.1
    Windows XP SP3

    Yes, but at least the start will be faster and only one tab ta the time is checked on the server.
    See also:
    *http://kb.mozillazine.org/browser.cache.check_doc_frequency

  • Have a  problem with Lightroom 5.4.  Since the program crashed yesterday it won't launch, it comes up with the message "Lightroom encountered an error when reading its preview cache and needs to quit".  "  Lightroom will attempt to fix this problem net ti

    Have a  problem with Lightroom 5.4.  Since the program crashed yesterday it won't launch, it comes up with the message "Lightroom encountered an error when reading its preview cache and needs to quit".  "  Lightroom will attempt to fix this problem next time it launches".  Except that it doesn't, I keep getting the same message and the program closes.  Does anyone know what I  can do to repair it?  Can't back up, can't do anything.

    There are dozens of threads in this forum that describe the fix

  • When I try to open my Lightroom 5 program it comes up with this message, "Lightroom encountered an error when reading from its preview cache and needs to quit."  How do I fix this?

    Can someone please let me know how I can fix this error and open my Lightroom?  Thanks.

    You might be quicker help posting in the LR forum rather than the ACR forum, but I believe the way to fix this is to delete the preview cache. 
    Find your catalog folder.
    Close LR.
    Within the catalog folder, delete the FOLDER called Catalog-Name Previews.lrdata
    Start LR.

  • Lightroom will not launch and comes up with the following message "Lightroom encountered an error when reading from its preview cache and needs to quit".  Lightroom will attempt to fix the problem next time it launches, except it doesn't fix and I now can

    Can anyone help with the above problem?

    Here is your fix: Lightroom says my preview cache is corrupted—how do I fix it? - The Lightroom Queen

  • Outlook autocomplete cache stops working for multiple users at the same time

    Hi there
    Ever since we upgraded our Exchange 2010 to Exchange 2013 we have had problems with the autocomplete cache in Outlook 2010.
    We have 700 users and about once per week I get a call about the autocomplete cache. A few users are on cached mode, but most use online mode. The problem appears on both, but it can usually be corrected by /cleanautocompletecache.
    Granted, the autocomplete cache gets corrupted sometimes, but it seems to happen a lot for us. I have noticed that often more than one user experiences the problem at the same time, and, since the problem starting after upgrading Exchange, I suspect that
    the issue is with Exchange and not Outlook. Yesterday three users complained about the cache at the same time.
    I know how to get a broken cache going again - that is not the issue. The issue is keeping this from happening so often.
    Anyone out there able to help?
    Thanks!
    /Anders

    Hi ,
    Based on my knowledge , when you tried to send an email to a recipient in the same exchange organisation then the recipient address will be resolved in to legacy dn value and then that email will be delivered to destination mailbox by pointing towards to
    that legacy dn value.
    For the external recipients exchange user the smtp address to get it delivered.
    For your issue :
    Based upon the NDR message , we need to covert those values in to x500 format and add it to respective recipient mailbox as an x500 address.Then These erorrs will happen if the x500 value of the destination recipient is not available on it's maibox
    and that would be the cause of the NDR for most of the times.Some time as you said autocomplete cache would get corrupted on the client end but it is very rare.
    How to convert NDR to x500 address format :
    http://msexchangeguru.com/2012/03/15/x500/
    How to avoid getting such kind of NDR'S :
    https://www.simple-talk.com/sysadmin/exchange/exchange-e-mail-addresses-and-the-outlook-address-cache/
    In case if you don't want the users to use the autocomplete cache when composing the new emails :
    In group policy we can use the  office templates to disable the below mentioned option.
    1.use autocomplete to suggest the names ---> this option will comes under the advanced settings on the outlook client.
    In case if you don't want the users to use the autocomplete cache when composing the new emails as well as if you wanted to delete that autocomplete then you need to choose one more option along with the first one.
    1.Empty autocomplete cache.
    Please reply me if anyhitng is unclear.
    Thanks & Regards S.Nithyanandham

  • Ssd cache performanc​e

    At this point I can only image it will help but I am trying to decide if sdd cache on the 450r is going to have a better return on performance versus a ssd drive for swap files on my VMware host. Soon to be multiple hosts.  This is not a production box but a replica site I have pieced together from some new hardware and old,.
    I would like to know if anyone has any performance metrics with ssd cache.  I am looking to get 2x256GB drives in a mirror.  This is a big project since I will have all my bays filled.  I would have to find a temp location for all my replicas break my raid and rebuild everything. I am not against it, I just want to know what I am looking at for percent of performance gains.  i know it will depend on what I plan on get setting cache policy to but I am planning on write around since most of our systems are read based. 
    Any info is appreciated. 
    Also let me know if you anyone is using iSCSI over NFS and why.  I have heard a lot about read being way faster with iSCSI but since I can't have multiple hosts on an iSCSI volume am stuck with NFS for now.

    I did try eSATA as well, the WD drive was able to do 150MB/s and 149MB/s, read and write respectively. (as the QM57 chipset natively supports SATA at 3Gb/s)
    The issue here is as part of the decision process to get the W510, USB 3 capability came into consideration (for having more than 1 fast external storage device).
    EDIT:
    Ultimately, what I'm really after is:
    1. Have I configured something incorrectly, or misconfigured something.  Or is there's some ideal component linkage I'm missing.
    2. Is the W510's USB 3.0, at the very least, capable of delivering 2.5GT/s?
    3. I may, or may not have to file a complaint to Lenovo or BBB for misleading marketing / sales info.
    2nd EDIT:
    I do thank you for suggesting eSATA.  However, if Lenovo is going to reply to this, I simply won't take "use the touchpad instead" if the trackpoint isn't working properly.

  • Error while attaching to cache grid - 3399

    Hi experts,
    I am getting following error in cache grid operation –
    3399: The recorded information indicates that there are other attached members of the grid but this member failed to communicate any of them
    Let me tell you what I am trying to achieve
    I have two hosts 1 and 2, host 1 and host 2 should be a part of cachegrid. Oracle DB (Persistent DB) is shared with both hosts and is at host 1. Host 2 have access to Oracle on Host 1 (I can do sqlplus from host 2 to host 1's Oracle DB)
    Steps I followed are -
    Host 1 – (Contains IMDB as well as Persistent DB )
    call ttcacheUidPwdSet ('cacheuser','oracle');
    call ttGridCreate ('Grid');
    call ttGridNameSet ('Grid');
    call ttcacheStart;
    call ttCachePolicySet('always');
    call ttrepPolicySet('always');
    …some cache groups ….
    call ttRepStart;
    call ttGridAttach(1,'alone1','host',5001);
    Host 2 - (Contain only IMDB)
    call ttcacheUidPwdSet ('cacheuser','oracle');
    call ttGridNameSet ('Grid');
    call ttcacheStart;
    call ttCachePolicySet('always');
    call ttrepPolicySet('always');
    …. Same cache groups as in host 1 …
    call ttRepStart;
    call ttGridAttach(1,'alone2','host2',5002);
    ttGridNodeStatus displays on both hosts, TimesTen standalone DB attached on grid -
    Command> call ttGridNodeStatus;
    < GRID, 1, 1, T, host1, GRID_alone1_1, "some IP address", 5001, <NULL>, <NULL>, <NULL>, <NULL>, <NULL> >
    When I try to attach host 2 on grid gets following message –
    Command> call ttGridAttach(1,'alone2','host2',5002);
    3399: The recorded information indicates that there are other attached members of the grid but this member failed to communicate any of them
    The command failed.
    All .ini files for timesten seem to be good.
    Are steps correct? Did I miss something in documentation?

    Hi,
    The error indicates that host2 couldn't communicate with the attached data store on host1. Can you try to get more information?
    1. ttStatus output of the attached data store on host1.
    2. On host2, can you try to ping "some IP address"?
    Besides, I noticed some inconsistency in your script. When you were attaching the first data store, you invoked:
    call ttGridAttach(1,'alone1','*host*',5001);
    But ttGridNodeStatus showed "*host1*" instead of "*host*".
    Command> call ttGridNodeStatus;
    < GRID, 1, 1, T, host1, GRID_alone1_1, "some IP address", 5001, <NULL>, <NULL>, <NULL>, <NULL>, <NULL> >
    Andy

Maybe you are looking for

  • Could not acquire a lock

    Hello, I'm trying to activate and smartform but every time I'm getting this dump: Error Text of the Database: "[ASE Error SQL12205]Could not acquire a lock within the specified wait period. SERVER level wait period=2400 seconds, spid=259, lock type=e

  • No message/call notification (N97 Mini)

    Hello, I've been having this problem for a while now. I don't get any notification when I recieve a call or message. (No vibrating or ringtone) However, the vibrating and sound does work in the phone. I've tried rebooting my phone, but this didn't do

  • Problem while Opening Attachments in UWL

    Hello all, When we try to open an attached documents from UWL we get the following error "<b>Error triggering default method for object ArchiveLink image .</b>." But the same attachment opens from the backend (workflow inbox) without any problem. Can

  • Assigning object reference values to field symbols

    Okay.......has anyone out there figured out how to assign the reference value of an object (you know the value you see in the debugger for example: .........to a field symbol. I know there has to be a way and was wondering if anyone has successfully

  • Authorization question???..i have a laptop and imac

    I want to upgrage to the new ilfe suite so I can use garagebands new features on both my imac and laptop. They told me there is a single user pack 79 and a family pack for 99... I have an Imac for my studio and an ibook i use for live. Can i install