Skip to content

Why am I getting Javascript errors on RequestReduce script files?

mwrock edited this page Oct 23, 2011 · 1 revision

This is most likely because you have scripts that are expecting to be loaded from their original directory and load other resources relative to that directory. RequestReduce moves scripts, css and some images to a different caching directory. If a script then tries to load another script from its current directory, the reduced script will be in a different directory and will possibly be trying to load a script that does not exist. This can cause errors on your page that needs those loaded scripts to be present. This has been observer with the following and is likely an isue with many other third party scripts:

  • Tiny MCE Html Editor
  • MVC Mini Profiler

To work around this issue, add these scripts to your RequestReduce javaScriptUrlsToIgnore config setting.

Clone this wiki locally