adding client cache to static plugin