16 Commits

Author SHA1 Message Date
Nova Kwok
68cefb6740
A bunch of fixes (#161)
* Some updates

* Update Docs as well
2022-12-25 16:19:47 +08:00
n0vad3v
bfbd08acdf Bump version in config to 0.4.5 2022-06-19 15:49:49 +08:00
Nova Kwok
fd3013b2eb
Testing out lower glibc version (#110)
* Usiing lower glibc version
2022-03-24 14:58:47 +08:00
Nova Kwok
64db6cc199
Try to mitigate cocurrency problem (#107)
* Try to mitigate cocurrency problem

* Remove getFileContentType in funcion

* Bump to 0.4.3 after fix
2022-03-20 16:45:07 +08:00
Nova Kwok
88daad2a05
Always check for file extension (#103) 2022-03-15 11:13:13 +08:00
n0vad3v
74b0382ab6 Clean Path on routing to mitigate directory traversal, bump version to 0.4.1 2021-12-30 16:44:30 +08:00
BennyThink
7f1c441b6f
avif encoding speed, disable AVIF by default 2021-12-10 15:18:40 +08:00
BennyThink
67d40b4397
CI and minor fixes
* use GitHub Actions as CI
* bump versions
* Makefile and Dockerfile improvements
* upgrade logrus
2021-12-05 19:21:29 +08:00
BennyThink
7c65d5e213
stability enhancement
1. large dimension photos
2. GET /1.webp
3. dependabot
2021-12-04 17:25:26 +08:00
BennyThink
e9543522ae
avif support is almost complete 2021-12-04 17:25:26 +08:00
Benny
428192275b
choose webp or png feature (#70)
* support webp_bigger header, add test cases

* fix test case
2021-02-12 16:13:13 +08:00
Benny
9329ac65fe
fix runtime.GOOS=="windows, add more test cases, bump to newer version of fiber and libwebp (#68)
* fix runtime.GOOS=="windows, add some test cases

test cases are still limited for flag

* update to latest fiber v2.4.0 & libwebp v1.2.0

manually test confirmed
2021-02-01 16:14:23 +08:00
Benny
0c08f65be1
fix unsupported browser + proxyMode bug, return 400 for not allow files instead of 500 (#64)
unsupported browser will go for origin, while in proxyMode we don't have cache images.

resolve #61
2020-12-06 14:02:17 +08:00
Benny
37d8d8ba13
iOS 14 support, bump to 0.3.1 (#63)
Use `accept` header first, then `user-agent` header.
Add complete test case.

This should resolve part of #61
2020-12-05 16:42:18 +08:00
Nova Kwok
cedacd3997
Bump to 0.3.0 (#60) 2020-11-29 12:18:26 +08:00
Nova Kwok
9eda9ee799
Feature: Add Compression rate on header (#59)
* Add X-Compression-Rate on response header

* add test case for compression rate, change logging and other improvements

* move config to config.go, add header for safari and proxyMode, logging improvement

* update gitignore for remote-raw and coverage.txt

* Refine log level
2020-11-27 15:41:03 +08:00