CFF KB - Carrz-Fox-Fire Promotions Knowledge Base
CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.Knowledge Base
- Breadrumbs:
JS file will not update no matter what I do
- Article ID:
7273 - Date Created
Sunday, April 14, 2024 - Last Updated
Sunday, April 14, 2024 - This Article Has been Viewed
324 times - Short Desc
When developing websites using JavaScript, the file may not refresh after editing. - Details
When developing JavaScript for your website, you may encounter an issue where the file will not update in your web browser, no matter which browser you use. - Recreate Issue
Editing and refreshing JavaScript code file in a web browser does not work. - Resolve Issue
Scenario #1:
In Google Chrome
[Right-click] on the [Refresh] button and choose one of the options.
Scenario #2: (This is what I have often had to do.)
Rename the [JS] file and change its name on your web page.
[Refresh] the web page, and you now have an updated file with a new name that works.
This file will work with updates, but you may encounter this issue again, as I have. Rename the file again, and it will work for a while longer, but then it will get hung again.
Scenario #3:
Reboot the server.
What I believe is happening is the file is hung, and the only way to resolve the issue is to do as suggested in Scenario #2 or Scenario #3. Scenario #1 does not always work with JS files.
Share With Friends (Updated 6-8-2010)
Recent Articles
All Topics
- Coming Soon - Knowledge Exchange
Trending Articles
- Microsoft VBScript runtime error '800a0046' Permission denied FileSystemObject 24689
- Microsoft OLE DB Provider for SQL Server error '80040e57' String or binary data would be truncated. or The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. 21294
- ADODB.Parameters error '800a0e7c' Parameter object is improperly defined 19538
- After Effects warning: Audio conforming failed for the following file .cfa. Perhaps due to disk space 17781
- The backup set holds a backup of a database other than the existing 16819