Results 1 to 4 of 4
  1. #1
    ra13 is offline Member
    Join Date
    Nov 2011
    Posts
    2
    Rep Power
    0

    Default Caching issue with updated JS file

    I'm having a really strange caching issue with my web app's javascript files & no-one seems to be able to tell what it is.

    The issue is that I have deleted a section of code in the JS file, yet it's still appearing in the browser, both IE and FF.
    I have tried a number of solutions but nothing has worked. if anyone has any suggestions as to what the issue would be, I would appreciate it.

    What I have tried:
    Manually remove & re-add the file
    Rollback the file to a previous version
    Remove the file from the index.html and re-add it
    Clear all cache in FF & IE
    Disable firebug
    Check the script is updated by manually accessing the file via the application URL & Firebug Script tab
    Renaming the JS file
    Renaming the index.html file
    Cleaning/rebuilding/removing the project
    Restarting the server & eclipse
    Pointing the server to a different location
    Rebooting
    Removing & re-adding the Tomcat server
    Ctrl + F5
    Checking the URL path/classpath in Eclipse is correct
    Removing all Temp Internet Files (including when all associated apps were closed)
    Adding Pragma no-cache metadata tag to the index.html

    I'm at a loss as to what could be causing it.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,816
    Rep Power
    25

    Default Re: Caching issue with updated JS file

    Try asking your question on a javascript forum.
    This is a forum for java programming.

  3. #3
    ra13 is offline Member
    Join Date
    Nov 2011
    Posts
    2
    Rep Power
    0

    Default Re: Caching issue with updated JS file

    It's a java application I have. - a Spring MVC, Rest web app with an Ext-JS front-end. I'm asking in a java forum since there is a possibility it could be java or tomcat related.

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,816
    Rep Power
    25

    Default Re: Caching issue with updated JS file

    Sorry, I missed seeing any java code. Where is your java code in this problem?

Similar Threads

  1. Loading an old file into an updated program
    By crivers in forum New To Java
    Replies: 2
    Last Post: 06-10-2011, 06:34 AM
  2. JSP pages with no caching
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-31-2008, 01:53 PM
  3. caching the tables
    By jayashree in forum JDBC
    Replies: 0
    Last Post: 01-30-2008, 07:43 AM
  4. Caching problem
    By anki1234 in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 01-15-2008, 08:44 AM
  5. Caching problem
    By anki1234 in forum Java Servlet
    Replies: 0
    Last Post: 01-15-2008, 08:41 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •