PAC File Queries

Hi All,

Can I ask is it possible to use “else” keyword in Zscaler’s PAC file?

Regards,
Matthews Loke

FYI, Java scripts are supported, but when you use if else looping statements will add up latency.

Writing a PAC file: https://help.zscaler.com/zia/writing-pac-file
See the best practices : https://help.zscaler.com/zia/best-practices-writing-pac-files

Hi Ramesh,

Thanks for the info, didn’t know an if else statement will add up latency. So best practices will be just if statements for PAC file, am I right?

Regards,
Matthews Loke

Yes, better to avoid such looping, if else statement to reduce the PAC processing time.