jetheredge/SquishIt — Issue #120: Debug Mode using MvcRenderCachedAssetTag causes paths written incorrectly
Author: radleta
Created: 2011-12-09 13:53:20+00:00
State: open

I followed the instructions on the [wiki page](https://github.com/jetheredge/SquishIt/wiki/Using-SquishIt-programmatically-without-the-file-system) to setup the non-file based SquishIt.

(As a side note, this mode works the best when using the combination of a load balanced farm with external CDN like Amazon CloudFront doing a direct pull back to the load balanced farm, because it guarantees the squished files are available for access since they are pre-known and created.)

I pulled the latest master as of Commit:7a5f193484820c2013a28664196e83f1defb4aad and I'm seeing the production environment work fine, but the Debug Mode will render all the script elements out with paths that look like the "/$appdir$/$relativefilepath$" where $appdir$ is the application path and $relativefilepath$ is the path to the file on the file system NOT the virtual path to the file via url. This causes all of the scripts to 404 since the file path doesn't work to access the scripts.

Any ideas?