Empty static files cause a missed hit when running in offline mode - check for None rather than False

When verifying the content of cached_offline check for None rather than simply False

An empty file results in an empty string, causes the cache hit to fail and thus to recompress the section.