X

Oracle Customer Engineering & Advocacy Lab (CEAL) Blog covers BI Tech, EPM, BI Cloud and EPM Cloud.

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

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.


Join the discussion

Comments ( 1 )
  • information services Monday, July 4, 2011

    Thanks for giving the steps for How to Enable Caching in Internet Information Services (IIS) 7.0+.

    ________________

    John


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.