private void setNotModified(HttpServletResponse response, String eTag, long expires) {
        response.setStatus(HttpServletResponse.SC_NOT_MODIFIED);
        response.setHeader("ETag", eTag); // Required in 304.
        response.setDateHeader("Expires", expires); // Postpone cache with 1 week.
        response.setHeader("Cache-Control", String.format("public, max-age=%d", DEFAULT_EXPIRE_TIME));
    }
", "/afx/cache/*.*"}, method = {GET, HEAD, OPTIONS, POST}, produces = "
src/main/java/com/kodedu/controller/CacheResource.java