62 Commits

Author SHA1 Message Date
Benny~
7152cae868
Lossless: false 2020-02-29 18:39:00 +08:00
Benny~
ec5796d170
prefetch is finish. resolve #5.
Waiting for nova to test and merge to master
2020-02-29 18:39:00 +08:00
Benny~
9a933544be
go-style 2020-02-26 20:21:24 +08:00
Benny~
83a0aa420c
fix issue #4, add err return for webpEncoder 2020-02-26 20:13:52 +08:00
Nova Kwok
95b4443c13
Merge pull request #2 from BlueCocoa/master
Generate new WebP image if original file is modified since last time
2020-02-26 10:37:14 +08:00
Cocoa
25d46611f1
Copy ImgName before invoke c.SendFile since stripTrailingSlashes in fasthttp will change the content of ctx.URI().Path(), which was once obtained as ImgPath := c.Path()
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-02-26 02:04:50 +08:00
Cocoa
735b7d2cda
check the original image for existence before os.Stat
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-02-26 00:50:19 +08:00
n0vad3v
087e39d1ea
Optimize on function.
Update README.
2020-02-26 00:17:29 +08:00
Benny~
f790b24a0b
better file type 2020-02-25 22:20:26 +08:00
Cocoa
2b40d844a4
fixed typo in glob pattern, - -> .
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-02-25 20:56:26 +08:00
Cocoa
61b46a1d8e
generate new webp image if original file is modified since last time
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-02-25 20:50:29 +08:00
n0vad3v
8bdffcc246
Change from webp_server to webp-server.
Update RPM Spec.
2020-02-25 14:47:19 +08:00