Here's a suggestion posted on the NNTP forum; I looks like A Good Thing... On 20 Oct 2010 00:35:53 -0700, LM wrote:
asked 26 Oct '10, 11:02 Breck Carter |
I've added this to our "stuff to look into" list. Note that the website linked to doesn't exist - or at least it has no DNS entry. From Breck: Allow me to retort... C:\Documents and Settings\bcarter>ping www.http-compression.com Pinging www.http-compression.com [213.239.195.236] with 32 bytes of data: Reply from 213.239.195.236: bytes=32 time=153ms TTL=52 Reply from 213.239.195.236: bytes=32 time=152ms TTL=52 Reply from 213.239.195.236: bytes=32 time=155ms TTL=52 Reply from 213.239.195.236: bytes=32 time=154ms TTL=52 Ping statistics for 213.239.195.236: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 152ms, Maximum = 155ms, Average = 153ms From Graeme: Strange. Must be a Sybase thing: [C:\WINDOWS]ping www.http-compression.com Ping request could not find host www.http-compression.com. Please check the name and try again. http://downforeveryoneorjustme.com/www.http-compression.com says it's up too. answered 26 Oct '10, 13:12 Graeme Perrow You actually thought I hadn't tested the link... more than once...? Comment Text Removed
1
Maybe the site was temporarily unavailable while being compressed? |
Actually, it is possible so serve compressed HTTP content using current SA versions, but it requires some additional coding (see example below). So, a built-in HTTP compression would still be a more robust and usable solution. P.S. You can check if your page is compressed using this online tool: Port80 Software
answered 30 Jan '11, 16:17 Linas Medžiūnas Linas... clever stuff, but I'm totally with LM and Breck on this... If SQLA is a web server (which I guess it is), we shouldn't have write database functions to handle this. The web server should just 'know' to do this. |
Another solution for current versions of SQL Anywhere is to sit the database server behind a Reverse Proxy that is capable of compressing the responses. E.g. Apache via mod_proxy or the latest versions of IIS (7.0 and 7.5). answered 01 Feb '11, 05:29 Nick Brooks |