Sometimes there arises a need to update one or more of the JavaScript or CSS files within the Project Insight application. While this is a simple thing to do using a text file editor or by dropping a new file on top of an existing one, there is an additional step that is required for end users to see the changes in their browser from the files that were updated. Web browsers cache JavaScript and CSS files for a period of time so to avoid forcing all of your users to clear their browser cache, you can update a configuration setting on the web server.
- On the web server navigate to the root of the Project Insight application
- In the text editor of your choice, open the web.config file
- Look for the JSFileQueryStringSuffix key
- By default, the value will be empty unless this process has been done before. All that needs to be done is to enter a previously unused value. For instance, you might just start with the letter "a" as the value and then increment it to "b" should you need to update any JavaScript or CSS files again in the future
- Save and close the web.config file
After performing the above steps, all users will experience their browser request a fresh copy of all JavaScript and CSS files and therefore will immediately see the changes made to those files.
Comments
0 comments
Please sign in to leave a comment.