Copyright | (c) Matthew Mosior 2023 |
---|---|
License | BSD-style |
Maintainer | mattm.github@gmail.com |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- staticStreamly :: FilePath -> Int -> IO Static
- staticFilesStreamly :: FilePath -> Int -> Q [Dec]
Yesod.Static Replacement functions
:: FilePath | file path of static directory |
-> Int | buffer size (0.25 - 0.50 x your L2 cache seems to be best.) |
-> IO Static |
A more performant replacement of static found in Yesod.Static.
:: FilePath | file path of static directory |
-> Int | buffer size (0.25 - 0.50 x your L2 cache seems to be best.) |
-> Q [Dec] |
A more performant replacement of staticFiles found in Yesod.Static.