"text/html" Regular Expressions
alexz006 opened this issue · comments
local content_type_list = {
{
"text/html",
{
--[[
Usage :
Regex, Replacement
Text, Replacement
]]
--<!--[if gt IE 8]><!--> <html> <!--<![endif]--> - OK
{"<!%-%-[^%[]-->", "",},
{"%s%s+", " ",},
{"\n\n*", " ",},
{"\n*$", ""}
}
}
}
For CSS and JS, I use Nginx Pagespeed.