-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hartmut,
On 7/19/15 2:49 PM, Hartmut Honisch wrote: > Hi everyone, > > I'm using Tomcat's parallel deployment feature, and I wonder > whether there's a way to request a specific version of my webapp. > > Let's say I have a WAR named myapp##001.war deployed on my server > and just deployed a new WAR myapp##002.war. Requests to > http:/myserver/myapp/.. are transparently mapped by Tomcat to > version 001 for existing sessions and to version 002 for new > sessions. > > Is there a way to explicitly request version 001, like > http://myserver/myapp##001/...? That specific syntax obviously > doesn't work, otherwise I wouldn't be asking :) > > BTW: The reason I'm asking is because that transparent shift from > one app release to the next doesn't play along well with any caches > (browser, caching proxies, CDNs etc.): When a shift to the next app > release occurs, I generally need the client browsers to fetch a > fresh copy of all files belonging to that release. And the only way > to force them to do that is by having them use a different URL than > for the old app release files.. Or, you could use proper proxy-friendly cache-control response headers for those resources. Why aren't you doing that? - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJVrmCLAAoJEBzwKT+lPKRYmesP/itMThqJeB6kRl5kWgedsbG1 RSO+SyM2BqgP+BfdVtk2UR7CX3v4YuOV0TWPM0VgCnfhqh/lMS6gASUwNDW1FKd1 /Q0SterbKn7RDTzJ2GiYT1A2PF78iNDZ3ZjKMvJ2wlTv7QLcVyetFO8V+lWXOIKG xeaKP7hPAh9pau4FCrcwFeFrikdLpHly7BubUGehFpeINVFe30mpbosLXvR6cSq+ P9N/mAqNL+lVCnv7xuU3U7HzEoFfTUWWA/W+qxMgtnZ8bK2om7xAPpOLwo2lwXKu 9rOSFd1Q1/nP5Aa8Jqb+fCrbBXB8Z6yURJkucDTvBWCkP5VetJWbJOUYCmqYz0BG nueFOR09pvIWcEwMUHyJquaYz/PEJx5GEa6qmo1zB21MdekmG+zxI/70pdJ8FGH7 LT7JcEO3kRuRetYrVCVVpDLooG4LROz67LhErXc/U6AnykuT8rpWjT35gRPA2nw9 01cbKpdFfJvJIOdiuskuD3Bq948NS16DuPzSMIteI7KR2RpFFQMHW9+hG9KFv1oa jTElNAFzo5nKT1TrVXN4bFanMwIKqL64YBPyvnFaJBMojiN4ehD4jFgTmqnMzJ0C 7wshZ9TmONiRkQC5Hvlyp6Ct9Bn8GyZyPd/Pet9MGZL7h+JIler0JbJ1yhr21J3D jWklqKlrKvtrjRzRkLn9 =7BkU -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org