Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

Content length after compression

DP
Nimbostratus
Nimbostratus

Hi.

 

Does anyone know of a way to get HTTP content length after compression has been completed?

 

We're running Big-IP 10.2.4 currently and the HTTP_RESPONSE event gives the uncompressed size of an object from the pool member by reading the HTTP Content-Length header.

 

With Big-IP 11.x there's a HTTP_RESPONSE_RELEASE event which I think would do the job but unfortunately we're not running that release.

 

It's for bandwidth monitoring of content types and sizes.

 

Cheers.

 

2 REPLIES 2

nitass
F5 Employee
F5 Employee
is vip-to-vip helpful? the solution is for asm but concept is same.

 

 

sol9388: Using an iRule to parse post-ASM responses (9.4.x - 10.x)

 

https://support.f5.com/kb/en-us/solutions/public/9000/300/sol9388.html?sr=27975946

Kevin_Stewart
F5 Employee
F5 Employee
As Nitass says, until you get to v11, VIP-targeting is probably you're best bet.


 Outer VIP:
when HTTP_REQUEST {
virtual internal.vip.vs
}
when HTTP_RESPONSE {
log local0. [HTTP::header Content-Length]
}