I am looking for method to disable Browser Cache for entire Ruby On Rails MVC Website
I found following method,
Response.Cache.SetExpires(DateTime.Now.AddSeconds(5));
Response.Cache.SetCacheability(HttpCacheability.Public);
Response.Cache.SetValidUntilExpires(true);
and also for meta tag method.
<meta http-equiv="PRAGMA" content="NO-CACHE">
But i am looking for simple method, to disable browser cache for entire website.