mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 18:37:05 +00:00
New DirOptions.Cache field for in-memory caching and pre-compression for the fastest possible static file server
Read HISTORY.md it contains a breaking change, second parameter of HandleDir should be iris.Dir(...) instead of just a string relative to: https://github.com/kataras/iris/issues/1556#issuecomment-661057446 Former-commit-id: 14b48a06fb3b99287dff543932be2937a64233b9
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Server push lets the server preemptively "push" website assets
|
||||
// to the client without the user having explicitly asked for them.
|
||||
// When used with care, we can send what we know the user is going
|
||||
// to need for the page they’re requesting.
|
||||
// to need for the page they're requesting.
|
||||
package main
|
||||
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user