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.


Comments:

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

Posted by information services on July 04, 2011 at 02:49 PM PDT #

Post a Comment:
Comments are closed for this entry.