How to Compress JSON with ASP? How to Compress JSON with ASP? json json

How to Compress JSON with ASP?


Hope this helps:

  • Activate Dynamic Compression
  • Open SystemDir (C:\Windows\System32) and find this file: inetsvr\config\applicationhost.config
  • Find the <dynamicTypes> tag.
    Be sure you have <add mimeType="application/json" enabled="true" /> in the list.
  • Try reducing the amount of data you pass. 757KB is a LOT of information.
    If you pass HTML, you are doing it wrong. Pass the data and render it client side.
    If you are passing plain data, you are probably passing too much of it; try splitting it in more requests, in order to let the user show part of the whole information while still loading it.