I executed the filter example in Head first book.
I wanted to
test the compression capability so i modified the code in a way below.
}
I was under assumption that if i have large amounts of text data that needs to goes the browser instead of sending it as plain text , i will compress it so that the size would reduce and the user will be able to see the data in a short time. But it happened other way, with compressed data it took nearly 10 seconds and without compression it took 5 seconds.
Have i done something wrong.