replacing preg_replace with eval to preg_replace_callback() as the earlier implementation will be deprecated from PHP v5.5.5 and above. Also adding HTML compressor (more of an uglifier than obfuscator) which reduces the content-length by at least 8 percent in the worst case