caching: disable caching of index.html and enable caching for other UI asset files.

This commit is contained in:
Krishna Srinivas
2016-02-26 18:49:35 +05:30
parent 2ec211e52a
commit af7170675d
2 changed files with 15 additions and 11 deletions

View File

@@ -58,15 +58,6 @@ type GenericRep struct {
UIVersion string `json:"uiVersion"`
}
// GenericArgs - empty struct
type GenericArgs struct{}
// GetUIVersion - get UI version
func (web webAPI) GetUIVersion(r *http.Request, args *GenericArgs, reply *GenericRep) error {
reply.UIVersion = miniobrowser.UIVersion
return nil
}
// ServerInfoRep - server info reply.
type ServerInfoRep struct {
MinioVersion string