Messed up in the previous detection, fixed.

Also, avoid recompressing when a file hasn't actually changed due to
just finding a lone "https://".