Every time I deploy a new version of my code, I have to let the users clear their browsers cache.
But is this really necessary? Would not something like the following work?
I put the version of my application in every javascript/css file. Even the DataSourceLoader.
This seems to work. Am I missing something?
Would this prevent the users to have to clear their cache when a new version is deployed?
Using smartGWT 4.1p power.
But is this really necessary? Would not something like the following work?
Code:
<script type="text/javascript" language="javascript" src="zedes2/sc/initsc.js?version=1.2.8"></script> <script type="text/javascript" language="javascript" src="zedes2/sc/modules/ISC_Core.js?version=1.2.8"></script> <script type="text/javascript" language="javascript" src="zedes2/sc/modules/ISC_Foundation.js?version=1.2.8"></script> <script type="text/javascript" language="javascript" src="zedes2/sc/modules/ISC_Containers.js?version=1.2.8"></script> <script type="text/javascript" language="javascript" src="zedes2/sc/modules/ISC_Grids.js?version=1.2.8"></script> <script type="text/javascript" language="javascript" src="zedes2/sc/modules/ISC_Forms.js?version=1.2.8"></script> <script type="text/javascript" language="javascript" src="zedes2/sc/modules/ISC_RichTextEditor.js?version=1.2.8"></script> <script type="text/javascript" language="javascript" src="zedes2/sc/modules/ISC_Calendar.js?version=1.2.8"></script> <script type="text/javascript" language="javascript" src="zedes2/sc/modules/ISC_DataBinding.js?version=1.2.8"></script> <script type="text/javascript" language="javascript" src="zedes2/sc/skins/EnterpriseBlue/load_skin.js?version=1.2.8"></script> <script src="zedes2/sc/DataSourceLoader?version=1.2.8&dataSource=schuelerSimple"></script>
This seems to work. Am I missing something?
Would this prevent the users to have to clear their cache when a new version is deployed?
Using smartGWT 4.1p power.
Comment