Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How do I find out what exactly is being cached?

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #284052
    Nigan
    Participant

    Hello everyone,,
    So on my website, the only thing I am intentionally catching is the list the user selects on login, and their auth token for a persisted session. I set these using localstorage.set()

    However, other things seem to be getting cached. When I upload an updated version of my site, I can either delete the old js files, in which case the site shows up as a blank white screen, or I can upload the new js files without removing the old ones, resulting in the old version of the site being served up when you visit.

    Clearing the browsers cache resolves either of these issues.

    Is there any way to either find out what is being cached, and change its behavior, or is there any way to detect an update and automatically clear what needs to be cleared, while persisting the users session?

    #284058
    Beverleyh
    Participant
    #284115
    Nigan
    Participant

    Hello everyone,,
    So on my website, the only thing I am intentionally catching is the list the user selects on login, and their auth token for a persisted session. I set these using localstorage.set()

    However, other things seem to be getting cached. When I upload an updated version of my site, I can either delete the old js files, in which case the site https://vidmate.vet/ shows up as a blank white screen, or I can upload the new js files without removing the old ones, resulting in the old version of the site being served up when you visit.

    Clearing the browsers cache resolves either of these issues.

    Is there any way to either https://showbox.bio/ find out what is being https://tutuapp.uno/ cached, and change its behavior, or is there any way to detect an update and automatically clear what needs to be cleared, while persisting the users session?


    Thank you my issue has been solved,…

    #284118
    Beverleyh
    Participant

    Moderators ( @Paulie_D et al)

    Something iffy is going on with this account. After a post is replied to, they respond with a repeat post that has links in. Same pattern here: https://css-tricks.com/forums/topic/css-tricks-to-make-your-site-look-professional/

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.