Home › Forums › JavaScript › How do I find out what exactly is being cached?
- This topic is empty.
-
AuthorPosts
-
March 4, 2019 at 1:16 am #284052NiganParticipant
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?
March 4, 2019 at 8:23 am #284058BeverleyhParticipantSounds like this will help https://css-tricks.com/strategies-for-cache-busting-css/
March 4, 2019 at 9:56 pm #284115NiganParticipantHello 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,…
March 4, 2019 at 10:44 pm #284118BeverleyhParticipantModerators ( @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/
-
AuthorPosts
- The forum ‘JavaScript’ is closed to new topics and replies.