Re: Employing mod_deflate Apache module
Thank you. Sorry for long delay after your responses. Simply setting SetOutputFilter DEFLATE also did work for me. previously I tried AddOutputFilterByType DEFLATE text/html ...etc... Though it worked for static resources it failed to deflate dynamic ones. Maybe that is because apache doesn't read headers for plugin generated responses? Regards, Gennady Kushnir 2011/2/15 Patrick Middleton patr...@onestep.co.uk: On 15 Feb 2011, at 09:54, Patrick Middleton wrote: On 14 Feb 2011, at 18:27, Gennady Kushnir wrote: ... Is this a module load order problem? Which version of Apache have you got? Is mod_deflate.so loaded before mod_WebObjects.so, or after? Further research reveals that while module load order was very significant for Apache 1.3 (mod_rewrite et al), it's not significant for Apache 2.2, where modules can specify their own hook ordering preferences. The easiest way of seeing what's going on is to enable mod_info. After doing that, I saw that many modules in their configuration stanzas had this: SetOutputFilter DEFLATE while mod_WebObjects (for me, configured via /Library/WebObjects/Adaptors/Apache2.2/apache.conf) did not. After adding it, deflate now works for me with WO-generated content. 2011/2/14 Timo Hoepfner th-...@onlinehome.de: If it's a Wonder app, add this to you Properties and you're done: er.extensions.ERXApplication.responseCompressionEnabled=true Timo Am 14.02.2011 um 09:59 schrieb Gennady Kushnir: Hello list! I've just tried to compress traffic produced by my WOApp but I only succeeded in compressing static resources (css and js). Here is my configuration fragment. IfModule mod_deflate.c AddOutputFilterByType DEFLATE text/html application/xhtml+xml text/plain text/xml \ text/css text/javascript application/x-javascript application/javascript /IfModule Does anybody know what should be written to Apache mod_deflate configuration so that it also compress WO-generated pages? Regards, Gennady This email, including any attachments, is confidential and intended solely for the person or organisation to whom it is addressed. If you are not the intended recipient you must not disseminate, distribute or copy any part of this email nor take any action in reliance on it. If you have received this in error please notify the sender immediately by email or phone +44 (0)1702 426400 and delete this email and any attachments from your system. Email transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission. If verification is required please request a hard-copy version. OneStep Solutions LLP is registered in England and Wales under registration number OC337173 and has its registered office at 457 Southchurch Road, Southend-on-Sea, Essex SS1 2PH. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/genkush%40rujel.net This email sent to genk...@rujel.net ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Employing mod_deflate Apache module
On 14 Feb 2011, at 18:27, Gennady Kushnir wrote: It is not Wonder app. Why make such tricks whereas Apache should do that already? Because you might be using WebObjects without Apache. Is this a module load order problem? Which version of Apache have you got? Is mod_deflate.so loaded before mod_WebObjects.so, or after? 2011/2/14 Timo Hoepfner th-...@onlinehome.de: If it's a Wonder app, add this to you Properties and you're done: er.extensions.ERXApplication.responseCompressionEnabled=true Timo Am 14.02.2011 um 09:59 schrieb Gennady Kushnir: Hello list! I've just tried to compress traffic produced by my WOApp but I only succeeded in compressing static resources (css and js). Here is my configuration fragment. IfModule mod_deflate.c AddOutputFilterByType DEFLATE text/html application/xhtml+xml text/plain text/xml \ text/css text/javascript application/x-javascript application/javascript /IfModule Does anybody know what should be written to Apache mod_deflate configuration so that it also compress WO-generated pages? Regards, Gennady This email, including any attachments, is confidential and intended solely for the person or organisation to whom it is addressed. If you are not the intended recipient you must not disseminate, distribute or copy any part of this email nor take any action in reliance on it. If you have received this in error please notify the sender immediately by email or phone +44 (0)1702 426400 and delete this email and any attachments from your system. Email transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission. If verification is required please request a hard-copy version. OneStep Solutions LLP is registered in England and Wales under registration number OC337173 and has its registered office at 457 Southchurch Road, Southend-on-Sea, Essex SS1 2PH. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Employing mod_deflate Apache module
Hi Gennady; Why make such tricks whereas Apache should do that already? Because you might be using WebObjects without Apache. Another reason (depending on your deployment) is that you may have a number of application servers with ample CPU resource, but one web-server/load-balancer with limited CPU resource. By compressing in the application-server, you could utilise more of the application-server resource compressing pages rather than the load-balancer. cheers. -- Andrew Lindesay www.silvereye.co.nz ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Employing mod_deflate Apache module
On 15 Feb 2011, at 09:54, Patrick Middleton wrote: On 14 Feb 2011, at 18:27, Gennady Kushnir wrote: ... Is this a module load order problem? Which version of Apache have you got? Is mod_deflate.so loaded before mod_WebObjects.so, or after? Further research reveals that while module load order was very significant for Apache 1.3 (mod_rewrite et al), it's not significant for Apache 2.2, where modules can specify their own hook ordering preferences. The easiest way of seeing what's going on is to enable mod_info. After doing that, I saw that many modules in their configuration stanzas had this: SetOutputFilter DEFLATE while mod_WebObjects (for me, configured via /Library/WebObjects/ Adaptors/Apache2.2/apache.conf) did not. After adding it, deflate now works for me with WO-generated content. 2011/2/14 Timo Hoepfner th-...@onlinehome.de: If it's a Wonder app, add this to you Properties and you're done: er.extensions.ERXApplication.responseCompressionEnabled=true Timo Am 14.02.2011 um 09:59 schrieb Gennady Kushnir: Hello list! I've just tried to compress traffic produced by my WOApp but I only succeeded in compressing static resources (css and js). Here is my configuration fragment. IfModule mod_deflate.c AddOutputFilterByType DEFLATE text/html application/xhtml+xml text/plain text/xml \ text/css text/javascript application/x-javascript application/javascript /IfModule Does anybody know what should be written to Apache mod_deflate configuration so that it also compress WO-generated pages? Regards, Gennady This email, including any attachments, is confidential and intended solely for the person or organisation to whom it is addressed. If you are not the intended recipient you must not disseminate, distribute or copy any part of this email nor take any action in reliance on it. If you have received this in error please notify the sender immediately by email or phone +44 (0)1702 426400 and delete this email and any attachments from your system. Email transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission. If verification is required please request a hard-copy version. OneStep Solutions LLP is registered in England and Wales under registration number OC337173 and has its registered office at 457 Southchurch Road, Southend-on-Sea, Essex SS1 2PH. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Employing mod_deflate Apache module
Hello list! I've just tried to compress traffic produced by my WOApp but I only succeeded in compressing static resources (css and js). Here is my configuration fragment. IfModule mod_deflate.c AddOutputFilterByType DEFLATE text/html application/xhtml+xml text/plain text/xml \ text/css text/javascript application/x-javascript application/javascript /IfModule Does anybody know what should be written to Apache mod_deflate configuration so that it also compress WO-generated pages? Regards, Gennady ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Employing mod_deflate Apache module
If it's a Wonder app, add this to you Properties and you're done: er.extensions.ERXApplication.responseCompressionEnabled=true Timo Am 14.02.2011 um 09:59 schrieb Gennady Kushnir: Hello list! I've just tried to compress traffic produced by my WOApp but I only succeeded in compressing static resources (css and js). Here is my configuration fragment. IfModule mod_deflate.c AddOutputFilterByType DEFLATE text/html application/xhtml+xml text/plain text/xml \ text/css text/javascript application/x-javascript application/javascript /IfModule Does anybody know what should be written to Apache mod_deflate configuration so that it also compress WO-generated pages? Regards, Gennady ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/th-dev%40onlinehome.de This email sent to th-...@onlinehome.de ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Employing mod_deflate Apache module
It is not Wonder app. Why make such tricks whereas Apache should do that already? 2011/2/14 Timo Hoepfner th-...@onlinehome.de: If it's a Wonder app, add this to you Properties and you're done: er.extensions.ERXApplication.responseCompressionEnabled=true Timo Am 14.02.2011 um 09:59 schrieb Gennady Kushnir: Hello list! I've just tried to compress traffic produced by my WOApp but I only succeeded in compressing static resources (css and js). Here is my configuration fragment. IfModule mod_deflate.c AddOutputFilterByType DEFLATE text/html application/xhtml+xml text/plain text/xml \ text/css text/javascript application/x-javascript application/javascript /IfModule Does anybody know what should be written to Apache mod_deflate configuration so that it also compress WO-generated pages? Regards, Gennady ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/th-dev%40onlinehome.de This email sent to th-...@onlinehome.de ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com