HTML Compressor - Not Returning Cached Results.

Hi Luis et al.,

There appears to be a small bug that prevents the compressor from returning the cached results. In the interceptor Compressor.cfc (line 31), the cachedResults var is surrounded by quotes (""):

if( !isNull(“cacheResults”) )…

I believe it should NOT have the quotes around it. Otherwise it will just look for the string (“cacheResults”) instead of the var (cacheResults).

I’ve updated it in my code and it works properly now.

Thanks,
Marcus Cox

Thanks good observation don’t know why my test ran lol

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano

Fixed and released