mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
obey the vote of @1370 (77-111 at this point) - add import suffix on iris repository
We have to do the same on iris-contrib/examples, iris-contrib/middleware and e.t.c. Former-commit-id: 0860688158f374bc137bc934b81b26dcd0e10964
This commit is contained in:
6
cache/browser.go
vendored
6
cache/browser.go
vendored
@@ -4,8 +4,8 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/kataras/iris/cache/client"
|
||||
"github.com/kataras/iris/context"
|
||||
"github.com/kataras/iris/v12/cache/client"
|
||||
"github.com/kataras/iris/v12/context"
|
||||
)
|
||||
|
||||
// CacheControlHeaderValue is the header value of the
|
||||
@@ -111,7 +111,7 @@ var ETag = func(ctx context.Context) {
|
||||
// Cache304 sends a `StatusNotModified` (304) whenever
|
||||
// the "If-Modified-Since" request header (time) is before the
|
||||
// time.Now() + expiresEvery (always compared to their UTC values).
|
||||
// Use this `cache#Cache304` instead of the "github.com/kataras/iris/cache" or iris.Cache
|
||||
// Use this `cache#Cache304` instead of the "github.com/kataras/iris/v12/cache" or iris.Cache
|
||||
// for better performance.
|
||||
// Clients that are compatible with the http RCF (all browsers are and tools like postman)
|
||||
// will handle the caching.
|
||||
|
||||
Reference in New Issue
Block a user