Guest PLD Report post Posted August 29, 2008 I’m running WAPT against an application with Apache running Squid cache. The requests go in fine but Squid is not seeing them. I’ve added X-cache and Cache-Control to all headers and removed Pragma no-cache Is there anything I else I should change? Quote Share this post Link to post Share on other sites
Guest angela Report post Posted August 30, 2008 I’m running WAPT against an application with Apache running Squid cache. The requests go in fine but Squid is not seeing them. I’ve added X-cache and Cache-Control to all headers and removed Pragma no-cache Is there anything I else I should change? Hi, WAPT does not perform caching of requests by itself, it is performed by proxy and server . In order to enable caching you need to remove the "Pragma: no-cache" string from HTTP headers. To do this for all requests, just open your Profile - > Properties, click the button “Default HTTP headers...” and remove "Pragma: no-cache". It will work for all requests except subrequests - you'll need to edit their HTTP headers manually. Quote Share this post Link to post Share on other sites
Guest PLD Report post Posted August 30, 2008 Hi, WAPT does not perform caching of requests by itself, it is performed by proxy and server . In order to enable caching you need to remove the "Pragma: no-cache" string from HTTP headers. To do this for all requests, just open your Profile - > Properties, click the button “Default HTTP headers...” and remove "Pragma: no-cache". It will work for all requests except subrequests - you'll need to edit their HTTP headers manually. I think you misunderstand my question. I've removed pragma no-cache but the request that are generated by WAPT are not being processed by the Squid cache on the application. I've tried a different load tool with the same scenarios and it works fine with the Squid cache. My question is whether WAPT supports X-cache headers as removing pragma no-cache has no effect on the requests being 'seen' by the Squid cache. Many thanks Quote Share this post Link to post Share on other sites
Guest PLD Report post Posted September 1, 2008 Hi, WAPT does not perform caching of requests by itself, it is performed by proxy and server . In order to enable caching you need to remove the "Pragma: no-cache" string from HTTP headers. To do this for all requests, just open your Profile - > Properties, click the button “Default HTTP headers...” and remove "Pragma: no-cache". It will work for all requests except subrequests - you'll need to edit their HTTP headers manually. Hi an update for you all Turns out that some of the default WAPT header settings needed to be changed (Accept-Encoding gzip, deflate, accept-language en-us, remove pragma) and the user agent has to re-set away from WAPT so that the Squid cache accepts the requests Is there a reason that WAPT is the default user agent? Thanks! Quote Share this post Link to post Share on other sites
Guest angela Report post Posted September 4, 2008 Hi an update for you all Turns out that some of the default WAPT header settings needed to be changed (Accept-Encoding gzip, deflate, accept-language en-us, remove pragma) and the user agent has to re-set away from WAPT so that the Squid cache accepts the requests Is there a reason that WAPT is the default user agent? Thanks! Hi, my apologies for the late reply... in the next version of WAPT which is going to be released in couple of months the default user agent will be IE7. Quote Share this post Link to post Share on other sites