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.

Marcus Cox

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

Luis Majano
Ortus Solutions, Corp

ColdBox Platform:
Linked In:
Social: | |

Fixed and released