Last active
December 18, 2015 05:59
-
-
Save devyfriend/5736479 to your computer and use it in GitHub Desktop.
Expire cache on require.js data-main
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| var require = { | |
| baseUrl: "/scripts/", | |
| waitSeconds: 15, | |
| urlArgs : "bust="+{{buildNumber}}, | |
| deps : ['app/main'] | |
| }; | |
| </script> | |
| <script src="/scripts/require.js?bust={{buildNumber}}"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment