Scott O'Reilly, February 9, 2007
Step 2: Make the Developers' Lives Easier Developers are smart folks and can usually figure out when cache needs clearing. Just because they can, however, doesn't mean they should have to. To remedy this problem we added a "development mode" to the app. When enabled, the redownloadToken above is changed from the application's version number to a timestamp, effectively forcing a cache-free download on every page refresh. Even better, when development mode is enabled the app automatically uses the uncompressed dojo build for maximum debugability. Here's the JSTL code we used:
In the end we haven't solved all caching problems, but our customers and developers are sure happier!
1800 Diagonal Road Suite 600
Alexandria, VA 22314
© 2015 Spider Strategies, Inc.