Forum Discussion

Wasfi_Bounni's avatar
Wasfi_Bounni
Icon for Cirrocumulus rankCirrocumulus
Jun 20, 2023

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

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

  • 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"


  • 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"