Tag Info

New answers tagged


What you're looking for is setting a header value for Vary. The following PHP example will add a header value for: Vary: Mozilla/1.22 (compatible; MSIE 5.01; PalmOS 3.0) EudoraWeb 2 <?php $httpRequest->setHeaders(array('Vary' => 'Mozilla/1.22 (compatible; MSIE 5.01; PalmOS 3.0) EudoraWeb 2')); ?> You will want to use PHP's ...


You are correct that proxying less effective when the document has lots of variations for various clients. In this case it sounds like there might only be two versions, which makes the problem a little easier. The ideal solution would proxy based on user agent. It would serve the mobile version to mobile clients and the desktop version to other clients. ...

Top 50 recent answers are included