digitalwindow
12-06-07, 12:09
Hi All,
We have been looking into the speed at which data is being returned within Shops. We have made some changes and tested using 1and1 (http://1and1.co.uk) hosting, which has proved to optimize the speed at which data is returned.
To benefit from the speed optimisation, please ensure that your hosting supports GZIP compression.
The second issue is that some requests have been timing out within Client Software.
This was because of the default timeout value was too low and has now been increased.
================================================== ==================
Please find attached the files class.php5client.txt and class.php4client.txt.
This will enable GZIP compression on the SOAP messages exchanged between the servers.
To fully benefit from this, your hosting server has to support HTTP GZIP encoding.
Please change the corresponding (or both) file/s to a .php file and update within /includes/soap/classes of your Client Software.
================================================== ===========
The solution is to override the default nusoap timeout values, inside the constructor.
Please find the modified class.php4Client.txt, which now also issues a SoapFault instead of a PHP Warning, in case of a timeout.
Please change the corresponding (or both) file/s to a .php file and replace within /includes/soap/classes directory of your Client.
================================================== ===========
Please do not merge versions of Client Software. This will create errors in your code and may cause your Shop to break.
Regards
Amo
We have been looking into the speed at which data is being returned within Shops. We have made some changes and tested using 1and1 (http://1and1.co.uk) hosting, which has proved to optimize the speed at which data is returned.
To benefit from the speed optimisation, please ensure that your hosting supports GZIP compression.
The second issue is that some requests have been timing out within Client Software.
This was because of the default timeout value was too low and has now been increased.
================================================== ==================
Please find attached the files class.php5client.txt and class.php4client.txt.
This will enable GZIP compression on the SOAP messages exchanged between the servers.
To fully benefit from this, your hosting server has to support HTTP GZIP encoding.
Please change the corresponding (or both) file/s to a .php file and update within /includes/soap/classes of your Client Software.
================================================== ===========
The solution is to override the default nusoap timeout values, inside the constructor.
Please find the modified class.php4Client.txt, which now also issues a SoapFault instead of a PHP Warning, in case of a timeout.
Please change the corresponding (or both) file/s to a .php file and replace within /includes/soap/classes directory of your Client.
================================================== ===========
Please do not merge versions of Client Software. This will create errors in your code and may cause your Shop to break.
Regards
Amo