Ich habe folgendes web.config:IIS 7.5 Static Content Compression (nicht konsistent)
<urlCompression doStaticCompression="true" />
<httpCompression>
<dynamicTypes>
<add mimeType="text/*" enabled="true" />
<add mimeType="message/*" enabled="true" />
<add mimeType="application/javascript" enabled="true" />
<add mimeType="*/*" enabled="false" />
</dynamicTypes>
<staticTypes>
<add mimeType="text/*" enabled="true" />
<add mimeType="message/*" enabled="true" />
<add mimeType="application/javascript" enabled="true" />
<add mimeType="*/*" enabled="false" />
</staticTypes>
</httpCompression>
Mai Plan erlaubt es nicht, dynamische Kompression
Das Problem ist, wenn ich CSS oder js anfordern, IIS antworte mit GZIP und füge vary hinzu: accept-encoding irgendwann und andere Zeit komprimiert weder CSS noch JS, ich finde das Muster nicht zufällig.
Ich versuche immer STRG F5, auch wenn Sie www.mysite.com zugreifen css und js sind zufällig komprimiert oder nicht.
Hinweis: gehostet auf NetworkSolution.
Was ist falsch mit meiner Konfig oder IIS.
Dank
Wenn ich versuche, http://cdn.novopath.com/content/css/master.css auf http://www.whatsmyip.org/http-compression-test/ sagt das erste Mal nicht komprimiert das zweite Mal sagt komprimiert! – Sameh