Created
October 29, 2011 00:08
Revisions
-
mattbrictson revised this gist
Oct 29, 2011 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,6 +7,5 @@ protected void configureResponse(WebResponse response) super.configureResponse(response); response.setHeader( "Cache-Control", "no-cache, max-age=0, must-revalidate, no-store"); } -
mattbrictson revised this gist
Oct 29, 2011 . 1 changed file with 2 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,10 +2,9 @@ * Disable browser back button cache. */ @Override protected void configureResponse(WebResponse response) { super.configureResponse(response); response.setHeader( "Cache-Control", "no-cache, max-age=0, must-revalidate, no-store" -
mattbrictson created this gist
Oct 29, 2011 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ Cache-Control: no-cache, max-age=0, must-revalidate, no-store This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ /** * Disable browser back button cache. */ @Override protected void configureResponse() { super.configureResponse(); WebResponse response = getWebRequestCycle().getWebResponse(); response.setHeader( "Cache-Control", "no-cache, max-age=0, must-revalidate, no-store" ); }