OBIEE 11.1.1 - How to enable HTTP compression and caching in Oracle iPlanet Web Server

Posted by Ahmed Awan on Oracle Blogs See other posts from Oracle Blogs or by Ahmed Awan
Published on Thu, 20 Sep 2012 06:19:25 +0000 Indexed on 2012/09/20 9:46 UTC
Read the original article Hit count: 358

1. To implement HTTP compression / caching, install and configure Oracle iPlanet Web Server 7.0.x for the bi_serverN Managed Servers (refer to document http://docs.oracle.com/cd/E23943_01/web.1111/e16435/iplanet.htm)

2. On the Oracle iPlanet Web Server machine, open the file Administrator's Configuration (obj.conf) for editing. (Guidelines for modifying the obj.conf file is available at http://download.oracle.com/docs/cd/E19146-01/821-1827/821-1827.pdf)

3. Add the following lines in obj.conf file inside <Object name="default"> . </Object> and restart the Oracle iPlanet Web Server machine:

#HTTP Caching

<If $path =~ '^(.*)\.(jpg|jpeg|gif|png|css|js)$'>
ObjectType fn="set-variable" insert-srvhdrs="Expires:$(httpdate($time + 864000))"
</If>

 

<If $path =~ '^(.*)\.(jpg|jpeg|gif|png|css|js)$'>
PathCheck fn="set-cache-control" control="public,max-age=864000"
</If>

 

#HTTP Compression

 

Output fn="insert-filter" filter="http-compression" vary="false" compression-level="9" fragment_size="8096"


© Oracle Blogs or respective owner

Related posts about /1. OBIEE/Performance Tuning