JQuery Page Caching issues

Last post 07-04-2009 9:18 AM by swan_lee. 2 replies.

Sort Posts:

  • JQuery Page Caching issues

    06-23-2009, 10:08 AM
    • Participant
      1,153 point Participant
    • Dollarjunkie
    • Member since 01-28-2007, 8:18 AM
    • Posts 860

    Hi,

     I have been having this problem for a while and wondering how to get around it. This is about my first time with Javascript but I noticed that when I make changes and then view the page in the browser, it seems the code is not refreshed and so the effects I coded prior continue to show up, even after i have deleted them from my script file. How can I overcome this so I can properly test my JQuery Code??

    .Net Web/Software Engineer
  • Re: JQuery Page Caching issues

    06-23-2009, 10:18 AM
    Answer
    • All-Star
      124,047 point All-Star
    • XIII
    • Member since 06-30-2002, 11:59 PM
    • Essen, Belgium
    • Posts 13,706
    • ASPInsiders
      Moderator
      TrustedFriends-MVPs

    Hi,

    in your browser you can type ctrl + F5 to refresh it. Javascript gets cached by the browser. If that doesn't help you can also go for deleting the temporary ASP.NET files which you can find under C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files after performing an iisreset (via the commandline if you have IIS installed).

    Grz, Kris.

  • Re: JQuery Page Caching issues

    07-04-2009, 9:18 AM
    • Member
      2 point Member
    • swan_lee
    • Member since 03-09-2007, 7:20 AM
    • Posts 1

    Just wanted to say thanks for this advice, it solved a problem that was giving me a major headache.

Page 1 of 1 (3 items)