set 304 header if not recompiled to support client caching

Should solve issue #157