[Vtigercrm-commits] [vtiger development] #7627: Problem with browser/proxy cache of Module.js during custom module update
vtiger development
vtiger-tickets at trac.vtiger.com
Fri Dec 21 02:13:03 PST 2012
#7627: Problem with browser/proxy cache of Module.js during custom module update
------------------------+---------------------------------------------------
Reporter: joffrey | Owner: developer
Type: defect | Status: new
Priority: unassigned | Milestone: 6.0.0
Component: vtigercrm | Version: 5.4.0
Severity: Medium | Keywords: cache,javascript
------------------------+---------------------------------------------------
Javascript files (eg: Module.js) can be in browser/proxy cache.
When updating a custom module, the old version of javascript file could
still be used with the new version of the module.
Bugs have been encountered because of this cache issue.
To solve this problem on server-side, it is advised to add a tag to the
url. This tag will change whenever the file changes.
Eg :
<script type="text/javascript"
src="modules/CustomModule/CustomModule.js?filemtime=1356077038"></script>
The attached patch contains this proposed correction.
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7627>
vtiger development <http://trac.vtiger.com/>
vtiger CRM
More information about the vtigercrm-commits
mailing list