Skip to content

Will requestreduce work in a medium trust hosted environment?

mwrock edited this page Sep 21, 2011 · 1 revision

Yes. RequestReduce will work in a medium trust environment and provide almost all core functionality.

However, image optimization and some other more advanced or "Enterprise" features are only available in Full Trust environments. Many popular hosting providers like Discount ASP.NET and AppHarbor offer a Full trust environment to its users, but others like Godaddy do limit its users to Medium Trust. Here is a list of the features affected by Medium Trust:

  • Image Optimization including color reduction and enhanced PNG compression are not available in medium trust. Therefore the sprited images will be larger in these environments. This is due to the fact that such image manipulation requires the use of unmanaged code which is restricted in Medium Trust.
  • Distributed File Replication scenarios are not supported in Medium Trust. However, if you require multi server synchronization, a Sql Server master store is available under medium trust.
  • In Medium Trust, the virtual and physical paths to the directory where the css and sprites are saved must be within your application's directory structure. By default, RequestReduce places this directory in ~/RequestReduceContent.
Clone this wiki locally