Documente Academic
Documente Profesional
Documente Cultură
Important Note: If you are using SQL Server Database then use the default value 10 and
determine the optimal value for the Statement Cache Size as part of your pre-production
performance testing.
5.
Create deflate.conf
<Location />
<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
#Don't compress images
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png)$ no-gzip dont-vary
#Don't compress PDFs,doc,ppt,xls
SetEnvIfNoCase Request_URI \.(?:pdf|doc?x|ppt?x|xls?x)$ no-gzip dont-vary
#Don't compress compressed file formats
SetEnvIfNoCase Request_URI \.(?:7z|bz|bzip|gz|gzip|ngzip|rar|tgz|zip)$ no-gzip dont-vary
<IfModule mod_headers.c>
Header append Vary User-Agent
</IfModule>
</IfModule>
</Location>
#check whether compression ratio is working as expected
<IfModule mod_log_config.c>
<IfModule mod_deflate.c>
DeflateFilterNote Input instream
DeflateFilterNote Output outstream
DeflateFilterNote Ratio ratio
LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate
CustomLog "|${ORACLE_HOME}/ohs/bin/odl_rotatelogs $
{ORACLE_INSTANCE}/diagnostics/logs/OHS/ohs_component/deflate 43200" deflate
</IfModule>
</IfModule>
6.