Jump to content


Does WAPT support X-Cache headers?


  • Please log in to reply
4 replies to this topic

#1 Guest_PLD_*

Guest_PLD_*
  • Guests

Posted 29 August 2008 - 04:31 PM

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?


#2 Guest_angela_*

Guest_angela_*
  • Guests

Posted 30 August 2008 - 08:21 AM

QUOTE (PLD @ Aug 29 2008, 11:31 PM) <{POST_SNAPBACK}>
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.

#3 Guest_PLD_*

Guest_PLD_*
  • Guests

Posted 30 August 2008 - 02:34 PM

QUOTE (angela @ Aug 30 2008, 09:21 AM) <{POST_SNAPBACK}>
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



#4 Guest_PLD_*

Guest_PLD_*
  • Guests

Posted 01 September 2008 - 03:15 PM

QUOTE (angela @ Aug 30 2008, 09:21 AM) <{POST_SNAPBACK}>
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!

#5 Guest_angela_*

Guest_angela_*
  • Guests

Posted 04 September 2008 - 10:42 AM

QUOTE (PLD @ Sep 1 2008, 10:15 PM) <{POST_SNAPBACK}>
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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users