Skip to content

Commit 2063e2a

Browse files
author
Rafael Staib
committed
Add compression and static content cache
1 parent acaa630 commit 2063e2a

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

JSteps.v11.suo

1.5 KB
Binary file not shown.

JSteps/Web.config

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@
8888
</rule>
8989
</rules>
9090
</rewrite>
91+
<!-- For better performance -->
92+
<urlCompression doDynamicCompression="true" doStaticCompression="true" dynamicCompressionBeforeCache="true"/>
93+
<staticContent>
94+
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="365.00:00:00" cacheControlCustom="public"/>
95+
<remove fileExtension=".ico"/>
96+
<mimeMap fileExtension=".ico" mimeType="image/x-icon"/>
97+
</staticContent>
9198
</system.webServer>
9299
<runtime>
93100
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

0 commit comments

Comments
 (0)