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

What is the significance of the preview size in a Request Adapt profile?

Wasfi_Bounni
Cirrocumulus
Cirrocumulus

Hi;

What is the significance of the preview size in a Request Adapt profile? and why is that some may advise to set it to zero.

If the ICAP scanner is not going to return 200 modified or 204 modified, then is this buffer size of 1024 bytes meant for ICAP response code of 500, where the ICAP scanner is not capable of scanning the file for many reasons, among which is the file being password encrypted.

What is the best practice here. Shall I use the default value?

Kindly

Wasfi

1 ACCEPTED SOLUTION

Hi @Wasfi_Bounni , 

May using preview size 0 causes sending truncated requests. 

you can use the default value of 1024 bytes. 
Also Make sure to use the same value "1024" at Preview Length in ICAP profile. 

so you will set all preview lengths/sizes to "1024"


_______________________
Regards
Mohamed Kansoh

View solution in original post

3 REPLIES 3

Thank you Johnny

Hi @Wasfi_Bounni , 

May using preview size 0 causes sending truncated requests. 

you can use the default value of 1024 bytes. 
Also Make sure to use the same value "1024" at Preview Length in ICAP profile. 

so you will set all preview lengths/sizes to "1024"


_______________________
Regards
Mohamed Kansoh

Thank you Mohamed.