So at work we have a jenkins instance, which uses github (on prem) OAuth to sign in, and it logs you out after a very short period of inactivity. Except that jenkins or the way we have it configured or the way we have the reverse proxy in front of it configured is buggy, so sometimes when you try to log back in, you are just redirected to the front page, and you're still not logged in. To workaround this, I had to clean out my browser cache + cookies + other bits of history whenever this happened in order to log in.
Your comment just gave me the idea to: install the container tabs plugin, tell the plugin to always open our Jenkins site in the "Jenkins" container, and then when the bug happens, I can "clear cookies etc" on that container, without destroying my history and login sessions in the rest of my tabs.
After playing around with it for 5 minutes, it seems you can't clear cookies on a container basis. Also apparently only cookies are isolated, but other bits of history aren't. So this might not work. Alas. I almost found a solution. I did find that ctrl-shift-del opens a clear history popup though, instead of going through that wretched menu.
It doesn't clear cache but it will automatically delete any cookies when you close a tab or when you change the domain. That might do what you need, when you use it in conjunction with Containers.
On Chrome, theres an option to list cookies for a site by clicking on that padlock to left of site url, so quicker way of clearing cookies for your Jenkins site. Maybe FF has similar setup.
Then hard refresh browser should clear cache I think (ctr/cmd + shift + r on any system or ctr + f5 on windows).
Thanks, it seems firefox has the same feature on the padlock. Otherwise, from the other comments here, I might be able to try one of these two to help in conjunction with containers:
If you're okay with using chrome: create another profile and only use it for jenkins, in fact, set up a shortcut that opens it in app/kiosk mode and maybe see if there's a commandline flag to clear all history every time you open it, that way all you need to do is click the shortcut and everything else happens in the background and it doesn't affect the rest of your browsing exp.
Your comment just gave me the idea to: install the container tabs plugin, tell the plugin to always open our Jenkins site in the "Jenkins" container, and then when the bug happens, I can "clear cookies etc" on that container, without destroying my history and login sessions in the rest of my tabs.
After playing around with it for 5 minutes, it seems you can't clear cookies on a container basis. Also apparently only cookies are isolated, but other bits of history aren't. So this might not work. Alas. I almost found a solution. I did find that ctrl-shift-del opens a clear history popup though, instead of going through that wretched menu.