Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@ArturS clearing browser cache when a user's session ends (logout or timeout). What I'm seeing is that you can't clear cache, but you can try to be more explicit about what is cached and how long it can remain valid.
-
@NoNameCode storage, I think. The closest solution I've seen so far is calling location.reload(true).
-
Xmiq1078yhmm that depends on what clear means. You can easily set the expiry date to be yesterday and clear everything that way. on logging off it is easy.... for timeout you need to extend the expiry at every request and time everything
-
prodoxx1678yNothing is impossible. You can clear the cache of JavaScript and CSS by adding something like script.js?v=200. You can generate a random number put that means you have to inject the script tags on the document. What you're saying sounds like storage though.
Related Rants
My boss just gave me a task that Stack Overflow tells me is impossible. He's a senior architect.
-__-
undefined
i guess it's a challenge
really?