-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 I said:
> If you want Varnish to return responses that include the current > client IP every time, then it is almost certainly impossible to > have Varnish cache those responses. There might be some sort of > trick here, perhaps some kind of black magic with ESI, but I doubt > it. ... but on second thought, maybe it's not that much black magic after all. The "main" object, which can be cached, can contain an ESI include for a fragment that points to an application that just prints out whatever it finds in X-Fowarded-For. Then you'd have to make sure that the included fragment is never cached -- return(pass) for the URL. (Can you do that with ESI?) But still, without knowing what the problem to be solved is, I wonder if this solution is overkill. Geoff - -- UPLEX Systemoptimierung Schwanenwik 24 22087 Hamburg http://uplex.de/ Mob: +49-176-63690917 -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCAAGBQJPZu5JAAoJEOUwvh9pJNURVPkP/1O2drGSkV2oT+uMO9YtXh4w 9nz9/tYZfJMEktXhAjAga4IwYUH/a8/6LECLEvTLLQEe+Y9r6hil7ephGxdaiVwh l8qQYPTdKD5OdN5KY3ZbGVTLP9o/6h+aSaOumiEezr3fdB4vOjDVAOqY46SedppU jiQYcEAyM+LmVZmF4bfCYk3jKpYaeFu/OdOHNoqk1zSvYtzC3klSjUTTzBaP6aOn wUi6Dj/nzc7+092/2+78+3LZIVdG61bNSt+qgcyneopSge1HLiDUCeMoYUsKmnkj f6RXHOLwaEMGDscfgG3sfIhEaRNElZkVbnklpAVOQ/KLqq1wSXd69yoRvsn7yw9+ 6m3j4rT2QfFl7T43o5BRuqtOhFZfpJKCwf2q969sUBtg6vAYM6YoLyblqdyFVuLa eJkImVK95E9Zqz+WX/6Zthx9Cdp+B0+6XU28HQuoGr2IB88aQZ/RHLwNdHJA1iI2 kMQb8k8Ns6tYFeZEAzRRHtJtxL1mh+2DEhRDTh/amZ4dFOvcqhcTVpirfhI48t4X hY/Do/LUW8bSNen96k4JozrwpQvkY03LkzpPnfwDb3cXKohJb3ug2YZ10KXNUnDh bPh7CA2WiSXy5kdCUr73EvfWo2XDXMlEHfJu2I1Zh5xG01A2vVTub4Lpkvn/gmSo z+ggkDmtHMGhbav1yh4v =kvU5 -----END PGP SIGNATURE----- _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
