ZIP compression on REST
Since SuperOffice 8.5 R01 we added support for ZIP compression on REST API.
This can be utilized by Pocket CRM client, which has now support for REST to be able to offer compression and thus higher speed in its contact with NetServer.
To be able to use IIS dynamic compression, you will need:
- Pocket client >= 9.0.4
- Netserver >= 8.5.7066 (8.5 R01)
Basic Authentication needs to be disabled on the IIS website. SuperOffice Web installer will do it for you since 8.1 R02.
These new features should work in both online and onsite, and onsite remote installations as long as the site is correctly configured, and minimum versions are met.
How to enable Json compression on web servers
Add/install required server role in Server Manager console.
Enable dynamic content compression in IIS on server-level.
- In IIS Manager click on the server name and choose Compression from the IIS section.
Configure compression for content type JSON.
- In IIS Manager, click on the server name and choose Configuration Editor from the Management section. From the drop-down list on the top of the page, select system.webServer and under that httpCompression.
- Find the dynamicTypes option and click Edit item from the Actions menu on the right side.
- In the new dialog, click Add in the Actions menu, set Enabled to True and to the mimeType enter
Now the REST calls will be compressed.