noStore metodu
Şöyle yaparız.
Şöyle yaparız.
private CacheControl cacheControl = CacheControl.noStore().mustRevalidate();    
protected <T> ResponseEntity<TNRestResponse<T>> createEntity(TNRestResponse<T> res) {
  return ResponseEntity.ok().cacheControl(cacheControl).body(res);
} 
Hiç yorum yok:
Yorum Gönder