<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
    <rewrite>
      <rules>
			<rule name="w3tc_rewrite_test" stopProcessing="true">
			    <match url="wp-content/cache/minify/w3tc_rewrite_test" />
				<conditions>
					<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
					<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
				</conditions>
			    <action type="Rewrite" url="index.php" />
			</rule>
			<rule name="w3tc-minify-file" stopProcessing="true">
			    <match url="wp-content/cache/minify/(.+\.(css|js))$" />
				<conditions>
					<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
					<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
				</conditions>
			    <action type="Rewrite" url="index.php" />
			</rule>
			<rule name="WordPress" patternSyntax="Wildcard">
				<match url="*"/>
				<conditions>
					<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
					<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
				</conditions>
				<action type="Rewrite" url="index.php"/>
			</rule>
		</rules>
    </rewrite>
    <staticContent>
    	<clientCache cacheControlMaxAge="30.00:00:00" cacheControlMode="UseMaxAge"/>
  	</staticContent>
  </system.webServer>
</configuration>
