Roman
5a3edb9011
🔥 add the option to set a custom Cache-Control value for a favicon response
...
Right now, each favicon response sets the `Cache-Control` header to
`public, max-age=31536000` (1 year). In some cases this could be a
little bit high if you are changing it etc. and the header is not
replaced by a reverse proxy.
With this change, the favicon middleware allows the configuration of the
`Cache-Control` header. The default behavior is to keep the setting of
`max-age=31536000 `, but you could fine-tune it.
2020-10-05 08:35:29 +02:00
Konstantinos Lypitkas
9df61e925c
Increase coverage in cache middleware
2020-10-04 10:41:54 +03:00
hi019
1fe6d3b25d
Use default values for cookie fields
2020-10-03 10:52:06 -04:00
hi019
4898778e28
🐛 Move cookie expires outside of if
2020-10-03 10:50:29 -04:00
hi019
867f2fc0a8
🐛 Fix passing partial cookie to csrf.New
2020-10-03 10:41:14 -04:00
Fenny
81208a6d6a
📦 fix tests
...
Co-Authored-By: Tom <tom@tdpain.net>
2020-10-01 19:49:49 +02:00
Fenny
2321582d6a
📦 add cache-control option
...
Co-Authored-By: Tom <tom@tdpain.net>
2020-10-01 19:38:37 +02:00
Fenny
55960e86c3
📦 add cache-control option
...
Co-Authored-By: Tom <tom@tdpain.net>
2020-10-01 19:37:34 +02:00
Fenny
7bb6081371
📦 fix race condition in cache mw
...
Co-Authored-By: Konstantinos Lypitkas <3259834+klipitkas@users.noreply.github.com>
Co-Authored-By: kiyon <kiyon@gofiber.io>
2020-10-01 16:53:27 +02:00
Konstantinos Lypitkas
9a650b8d2a
Fix issue with expiration, increase coverage
2020-10-01 00:21:30 +03:00
Konstantinos Lypitkas
616a821cb6
Fix spelling and grammatical errors
2020-10-01 00:20:49 +03:00
Konstantinos Lypitkas
f921efe05a
Add basic test for cache middleware
2020-09-30 23:34:31 +03:00
Konstantinos Lypitkas
a430c5aa77
Fix magic number on cache middleware
2020-09-30 23:34:18 +03:00
Fenny
939a65c9d7
Merge pull request #860 from Fenny/master
...
🍪 add max-age to cookie
2020-09-30 21:45:07 +02:00
Juan Camilo Varela López
dfc141660d
fix name prop in doc
...
the prop Generetor doesn't exists, is Generator
2020-09-30 13:42:02 -05:00
Fenny
4ed6fff7b3
🍪 fix typo
2020-09-30 15:55:21 +02:00
Fenny
ba3d08ef6d
🍪 csrf default to Strict if left empty in config
2020-09-30 15:55:01 +02:00
Fenny
fcfb063f0b
✏ remove arrow
...
Co-Authored-By: Yuil Tripathee <28005756+YuilTripathee@users.noreply.github.com>
2020-09-29 21:41:47 +02:00
Fenny
62b59c9a9e
🔐 fix gosec
...
Co-Authored-By: Yuil Tripathee <28005756+YuilTripathee@users.noreply.github.com>
2020-09-29 20:41:47 +02:00
Fenny
ea129d02ab
🎨 add colors to default format
...
Co-Authored-By: Yuil Tripathee <28005756+YuilTripathee@users.noreply.github.com>
2020-09-29 20:40:10 +02:00
Fenny
9856573d41
🩹 update monitor test case
2020-09-29 17:46:53 +02:00
Fenny
cd95d4fc95
📈 add warning to monitor
2020-09-29 17:44:28 +02:00
Fenny
f23d63341e
📈 fix open connections
2020-09-29 15:52:11 +02:00
Fenny
969d983fa2
Merge remote-tracking branch 'upstream/master'
2020-09-29 15:43:04 +02:00
Fenny
2f202af06d
🩹 fix error handling in logger
2020-09-29 15:13:52 +02:00
Fenny
787796f78a
🩹 fix error handling in logger
2020-09-29 15:13:10 +02:00
kiyon
af1a143b35
🩹 fix data race
2020-09-29 14:23:36 +08:00
kiyon
cc961b0683
👷 add monitor middleware test cases
2020-09-29 13:16:26 +08:00
Fenny
652844c10b
Merge pull request #851 from Fenny/master
...
🕐 fix timeout
2020-09-29 04:36:58 +02:00
Fenny
01dcc81e7c
🕐 fix timeout
2020-09-29 04:36:38 +02:00
Fenny
05a062b0a4
Merge pull request #850 from Fenny/master
...
🕕 update timeout
2020-09-29 04:31:30 +02:00
Fenny
349da6fd1a
🕕 update timeout
2020-09-29 04:31:11 +02:00
Fenny
d3e53e90f0
Merge pull request #849 from Fenny/master
...
📈 fix response time
2020-09-29 04:03:38 +02:00
Fenny
cf103b0e1e
📈 fix response time
2020-09-29 04:03:13 +02:00
Fenny
b23487ab3f
Merge pull request #848 from Fenny/master
...
📈 fix ram chart
2020-09-29 03:19:20 +02:00
Fenny
9ec0cb524b
📈 fix ram chart
2020-09-29 03:18:58 +02:00
Fenny
94b9991a7b
Merge pull request #847 from Fenny/master
...
📈 add OS metadata
2020-09-29 03:14:05 +02:00
Fenny
bd30fc7e9f
📈 add OS data
2020-09-29 03:11:39 +02:00
Fenny
db535558b8
🧹 only accept GET
2020-09-29 02:41:00 +02:00
Fenny
202d16ab93
Update README.md
2020-09-29 02:38:38 +02:00
Fenny
759cc11d1b
Update README.md
2020-09-29 02:38:24 +02:00
Fenny
88c068a73b
Update README.md
2020-09-29 02:36:15 +02:00
Fenny
cef9b362ec
Update README.md
2020-09-29 02:35:41 +02:00
Fenny
c85ff49925
🧹 update monitor
2020-09-29 02:31:32 +02:00
Fenny
8852f33374
🧹 fix test
2020-09-29 01:33:52 +02:00
Fenny
2718b8996f
🧹 remove sleep
2020-09-29 01:29:43 +02:00
Fenny
a25eca4c89
📈 update monitor
2020-09-29 01:28:43 +02:00
József Sallai
8b8dcd4e61
✏️ make monitor mw ui labels more descriptive
2020-09-29 01:05:45 +03:00
József Sallai
62881d84b8
✨ add monitor middleware frontend
2020-09-29 00:46:55 +03:00
Fenny
74b171b1f8
Merge remote-tracking branch 'upstream/master'
2020-09-28 14:50:03 +02:00