Checking for gzip support. If exists, include gz in the URL to the assets. If not, server the regular file.