I developed to .net core mvc Web project. But When I tried to display PDF on web browsers(ie: Chrome, Edge, explorer, firefox..) first I save pdf as a "myfirstlist.pdf", then I updated pdf as a same name "myfirstlist.pdf" but my document changes couldnt reflected. Is that general cached problem ?
My Action Pdf viewing this:
[HttpGet]
public PhysicalFileResult OnGetDownload(string fileName)
{
string downloadPath = Path.Combine(Directory.GetCurrentDirectory(), @"C:\", fileName);
return new PhysicalFileResult(downloadPath, "application/pdf");
}