Which Apache Optimize Options are useful for RT?

Hello People

I’m going to optimize my Apache for our RT-System…

but i don’t know which directives ( cache, deflate etc.) are practicable for
rt

has someone experience with it ?

best regards john

View this message in context: http://old.nabble.com/Which--Apache-Optimize-Options-are-useful-for-RT--tp32036185p32036185.html

but i don’t know which directives ( cache, deflate etc.) are practicable for
rt

mod_cache will break RT by caching cookies and serving them randomly
to the wrong user causing you to be logged in as the wrong user.

Do not use it without reading all of the documentation caveats and
understanding how to prevent this and the many other problems caching
causes.

-kevin

So…

any other optmize measures that you can reccommed for RT without any
problems such like mod_cache ?

best regards john

View this message in context: http://old.nabble.com/Which--Apache-Optimize-Options-are-useful-for-RT--tp32036185p32044492.html

So…

any other optmize measures that you can reccommed for RT without any
problems such like mod_cache ?

best regards john

Here are some options that we have that you may want to give a try:

Reduce DEFLATE compression level to make it faster.

DeflateCompressionLevel 1
DeflateBufferSize 1024

Change Mason caching parameters

PerlSetVar MasonStaticSource true
PerlSetVar MasonBufferPreallocateSize 4096000
PerlSetVar MasonDataCacheDefaults “cache_class=> MemoryCache, cache_depth => 4”
PerlSetVar MasonPreloads ‘/Elements/*’

We also turn on some caching for common graphics, CSS, javascript…:

SetOutputFilter DEFLATE # Netscape 4.x has some problems... BrowserMatch ^Mozilla/4 gzip-only-text/html # Netscape 4.06-4.08 have some more problems BrowserMatch ^Mozilla/4\.0[678] no-gzip # MSIE masquerades as Netscape, but it is fine # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48 # the above regex won't work. You can use the following # workaround to get the desired effect: BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html # Don't compress images SetEnvIfNoCase Request_URI \ \.(?:gif|jpe?g|png)$ no-gzip dont-vary SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary
<IfModule mod_expires.c>
# turn on the mod_expires module for this directory
ExpiresActive on

# cache common graphics for 7 days
ExpiresByType image/x-icon "access plus 7 days"
ExpiresByType image/jpg "access plus 7 days"
ExpiresByType image/gif "access plus 7 days"
ExpiresByType image/jpeg "access plus 7 days"
ExpiresByType image/png "access plus 7 days"

# cache CSS for 24 hours
ExpiresByType text/css "access plus 24 hours"

# cache javascript for 1 hour
ExpiresByType application/x-javascript "access plus 1 hour"
# set the default to 24 hours
ExpiresDefault "access plus 24 hours"

Header set Cache-Control "must-revalidate"
</IfModule>

# Make sure proxies don't deliver the wrong content
Header append Vary User-Agent env=!dont-vary
SetHandler perl-script
PerlHandler RT::Mason

Please test and see if any of these help or not.

Regards,
Ken

@ktm:

thanks for your suggestions …

another one … which programm gives me reliable results to optimize the
rt website … which one do you use … is it necessary to run the program
on the server or it can be run on clients also for realistic conditions.

best regards john s.
View this message in context: http://old.nabble.com/Which--Apache-Optimize-Options-are-useful-for-RT--tp32036185p32051370.html

Addition:

Were decided to update on RT 4.0.1… so which module is the best choice
to get the best performance

modcgi or fcgid ?

how about the tuning options with the cgi modules?

best regrads john
View this message in context: http://old.nabble.com/Which--Apache-Optimize-Options-are-useful-for-RT--tp32036185p32059093.html