Ceylan B.
Ceylan B.

Reputation: 572

How to do cache management with automatic versioning on static files in ASP.NET?

Cache is not refreshed after deployment of an asp.net project. According to my research there are few ways to do this. But i am interested in a way that is automatic versioning on static files like js, css etc. I googled for this goal and i found some useful things;

  1. Omar Al Zabir's implementation - Click
  2. CombineAndMinify Nuget Package - Click

I tried both of them and i got some errors. I don't want to spend time to find where the error occurred. If you want to find the error where it is, click for the issue.

So, i would like to ask, is there any way to do automatic versioning in asp.net?

PS. I am talking about AUTOMATIC versioning not manuel like changing each file name.

Upvotes: 1

Views: 134

Answers (0)

Related Questions