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!
1701 Pennsylvania Ave NW Suite 300
Washington, DC 20006
© 2014 Spider Strategies, Inc.