1,使用nginx代理缓存2,使用304状态码,springboot项目使用shadowEtagFilter3,使用springboot的enableCacheing注解实现缓存