CSP Compression using ZLIB or IIS Compression

Hi,

Just wondered if anyone has either implemented CSP compression using ZLIB or IIS compression for csp pages?   Any advice or issues encountered?

Thanks,

Gary

  • 0
  • 0
  • 90
  • 5
  • 2

Answers

Just for information,  no need to download zlib as the CSP gateway installs it. This issue was down to a  dependency issue on windows 2012 as a result I had to install "MS VC++ 2013 redistributable". Thanks to Bernd Mueller as Intersystems wrc.

What exactly do you want to achieve? InterSystems products already support compression for any web implementations.

You can switch it on in CSP Gateway settings, and on a server side in session. Look at the documentation.

Hi,

Just investigating the options at present, I did check out the documentation prior to logging the question but I was concerned that it is refering to using an external 32bit dll. Therefore just wondered if any else has implemented compression on csp or iis?

Regards

Gary

I've used gzip compression many years ago. So, don't see any problems.

Does it really matter that documentation mention 32-bit library? Don't think, so. Apache on windows as I know still only 32 bit, that's why it needs a 32-bit version of zlib.

Hi,

Just downloaded the zlibwapi.dll 32 bit renamed it to zlib.dll and placed it in the windows\system32 directory, however after restarting iis the csp gateway is not finding it. 

Initialization
Information: The GZIP library (ZLIB) is not present on this system. This library is used for the optional GZIP compression facility.

I will investigate further and then log a wrc call.

Regards

Gary

usually that should go into your gateway directory.

Just noticed the inetpub\cspgatway directory contains a zlib1.dll, I have therefore copied this to zlib.dll based on the documentation but still no luck. Did you use the version from zlib or the version in the csp gateway and can you confirm the name of the file.

Cheers

Gary