Search code examples
glimpse

Glimpse Not working at all


I installed Glimpse for MVC5 via Install-Package Glimpse.MVC5

I turned on Glimpse on the Glimpse config page: /Glimpse.axd

When try to now hit my site, nothing happens. If I turn off Glimpse the site works as expected.

There are no error message or anything http related in Chrome network tools, only a request of: data:text/html,chromewebdata with a response of "Failed to load response data"

This is what Glimpse put in my web.config when I installed it. Not sure how to troubleshoot this.

<httpModules>
  <add name="Glimpse" type="Glimpse.AspNet.HttpModule, Glimpse.AspNet" />
</httpModules>
<httpHandlers>
  <add path="glimpse.axd" verb="GET" type="Glimpse.AspNet.HttpHandler, Glimpse.AspNet" />
</httpHandlers>

<modules>
  <add name="Glimpse" type="Glimpse.AspNet.HttpModule, Glimpse.AspNet" preCondition="integratedMode" />

<handlers>
  <add name="Glimpse" path="glimpse.axd" verb="GET" type="Glimpse.AspNet.HttpHandler, Glimpse.AspNet" preCondition="integratedMode" />

Solution

  • Just needed to set dynamicCompressionBeforeCache to false and it works:

    <urlCompression doStaticCompression="true" doDynamicCompression="true" dynamicCompressionBeforeCache="false" />