OBIEE 11.1.1 - How to Enable Caching in Internet Information Services (IIS) 7.0+

Posted by Ahmed A on Oracle Blogs See other posts from Oracle Blogs or by Ahmed A
Published on Thu, 30 Jun 2011 17:20:10 -0700 Indexed on 2011/07/01 8:27 UTC
Read the original article Hit count: 532

Follow these steps to configure static file caching and content expiration if you are using IIS 7.0 Web Server with Oracle Business Intelligence. Tip: Install IIS URL Rewrite that enables Web administrators to create powerful outbound rules. Following are the steps to set up static file caching for IIS 7.0+ Web Server:

1. In “web.config” file for OBIEE static files virtual directory (ORACLE_HOME/bifoundation/web/app) add the following highlight in bold the outbound rule for caching:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <urlCompression doDynamicCompression="true" />
        <rewrite>
            <outboundRules>
                <rule name="header1" preCondition="FilesMatch" patternSyntax="Wildcard">
                    <match serverVariable="RESPONSE_CACHE_CONTROL" pattern="*" />
                    <action type="Rewrite" value="max-age=604800" />
                </rule>
                <preConditions>
   <preCondition name="FilesMatch">
                        <add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/css|^text/x-javascript|^text/javascript|^image/gif|^image/jpeg|^image/png" />
                    </preCondition>

                </preConditions>
            </outboundRules>
        </rewrite>
    </system.webServer>
</configuration>


2. Restart IIS.



© Oracle Blogs or respective owner

Related posts about /OBIEE/Performance Tuning