on 2015 Jan 09 10:12 AM
Hi ,
I have developed a SAP UI5 application and moved it to the production server. subsequent to that i have made some changes to the code in development server and moved it to production server. But when we access SAP UI5 application from the browsers the new code is not getting updated in the application. To make this work every time i need to clear the browser cache manually. Even after running the report " " we need to clear cache in the browser manually.
In the application index we are using this code
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta http-equiv="cache-control" content="no-cache" />
<META HTTP-EQUIV="Expires" CONTENT="-1">
<script
src="resources/sap-ui-core-all.js"
id="sap-ui-bootstrap"
data-sap-ui-libs="sap.m, sap.ui.commons, sap.suite.ui.commons, sap.ui.table, sap.ui.ux3,sap.viz"
data-sap-ui-theme="sap_bluecrystal"
data-sap-ui-appCacheBuster="./" >
</script>
Please suggest how make the new code getting reflected in the browser without clearing the browser cache manually.
Thanks & Regards,
Jayasree.
Request clarification before answering.
For a production solution you should look at the cache buster mechanism.
The mechanism changes the URL to prevent browser caching issues.
Cache Buster - UI Frameworks based on HTML5, JavaScript and CSS - SAP Library
Application Cache Buster - UI Frameworks based on HTML5, JavaScript and CSS - SAP Library
Regards,
Jason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.