Created
April 8, 2011 02:53
-
-
Save KristianLyng/909200 to your computer and use it in GitHub Desktop.
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 characters
| Testing saint-mode | |
| ================== | |
| 1. Add a X-restarts header to the response. | |
| 2. Make a file available only on one web server. Don't cache it. | |
| 3. Set up saint mode so Varnish adds 404 responses to saintmode, then | |
| restarts. (Set a low value for saint-mode for easy test, 5s for | |
| instance) | |
| 4. Try accessing the file through varnish and watch the X-Restarts | |
| header. If saint-mode works, you should get a maximum of one restart | |
| every 5s (assuming 5s saint-mode period). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment