1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-22 07:12:55 +00:00

336 Commits

Author SHA1 Message Date
Fenny
b55a0b3080
Merge pull request #917 from DevDevious/issue_914
Fix for #914
2020-10-11 01:42:30 +02:00
Cosmin Goea
ac6daebcda Fix for #914. 2020-10-10 17:02:56 -04:00
Cosmin Goea
b9bd7c66c1 Fix for #912. 2020-10-10 16:57:15 -04:00
Tom
35e100db6e
📦 Add child PID display when prefork enabled 2020-10-09 09:40:49 +01:00
Roman
3e6dfb313b 🔥set a Cache Control header for static ressources
Right now, each static request returns the file without any cache control
header. If you are using `app.Static` to serve your assets, the
browser shouldn't cache it. This PR introduces a way to set the cache
control header (if the file was found) on the file response to set a
custom max-age to e.g. cache it 1 year.
2020-10-07 15:44:38 +02:00
Roman
6084e7c1f1 🔥 make the fasthttp ReduceMemoryUsage flag public
This PR introduces the `ReduceMemoryUsage` flag to the server config
that is pulled to the underlying fasthttp server. The default is false
to keep the old behavior.

The implementation of `ReduceMemoryUsage` is here: 01acd76daf/server.go (L285)

Refs: #866 / https://github.com/gofiber/fiber/issues/866#issuecomment-704818583
2020-10-07 12:33:47 +02:00
Fenny
2d301ed7ce 📦 update version to v2.0.6 2020-10-05 20:05:16 +02:00
kiyon
102d167b9f 👷 handle error of fmt.Fprintf 2020-10-03 23:59:41 +08:00
Fenny
33b7905da6 📦 v2.0.5 2020-10-01 23:29:10 +02:00
Fenny
b48864b90b 📦 v2.0.4 2020-09-29 21:48:04 +02:00
Fenny
d53cb8bfd6 📦 introduce app.Server 2020-09-27 23:23:28 +02:00
Fenny
753391b217 🧹 remove old code 2020-09-26 11:25:32 +02:00
Fenny
e414c4a83e 🗻 able to mount sub-apps 2020-09-26 11:24:25 +02:00
Fenny
872a78042b 📦 v2.0.2 2020-09-19 11:47:43 +02:00
Fenny
bacec638ed 📝 format comments 2020-09-17 01:39:42 +02:00
Fenny
221fa325db
Merge pull request #790 from Fenny/master
🎈 bump v2.0.1
2020-09-15 21:09:44 +02:00
Fenny
00b93b086e 🎈 bump v2.0.1 2020-09-15 21:01:34 +02:00
kiyon
27cd8ad9c5 👷 improve app and prefork test cases 2020-09-15 09:02:24 +08:00
Fenny
2768ea2a77 🙌 make utils public
Co-Authored-By: RW <7063188+ReneWerner87@users.noreply.github.com>
2020-09-14 12:12:29 +02:00
Fenny
a09daabfee move utils to internal 2020-09-14 09:24:48 +02:00
Fenny
a3cac71ae8 🔦 move utils to internal 2020-09-14 09:09:06 +02:00
Fenny
ca9c8c632f v2
Co-Authored-By: hi019 <65871571+hi019@users.noreply.github.com>
Co-Authored-By: RW <7063188+ReneWerner87@users.noreply.github.com>
Co-Authored-By: kiyon <kiyon@gofiber.io>
Co-Authored-By: Roger Guldbrandsen <8797880+kinbiko@users.noreply.github.com>
2020-09-14 08:05:34 +02:00
Fenny
82e30c8db5 v2
Co-Authored-By: hi019 <65871571+hi019@users.noreply.github.com>
Co-Authored-By: RW <7063188+ReneWerner87@users.noreply.github.com>
Co-Authored-By: kiyon <kiyon@gofiber.io>
Co-Authored-By: Roger Guldbrandsen <8797880+kinbiko@users.noreply.github.com>
2020-09-14 06:07:34 +02:00
Fenny
569354fb43 v2 2020-09-14 05:22:15 +02:00
Fenny
3d76f078a4 v2 2020-09-14 04:54:26 +02:00
Fenny
79aeb6f795 v2 2020-09-14 04:17:36 +02:00
Fenny
b388617532 v2 2020-09-13 12:04:14 +02:00
Fenny
2951c6ac0d v2 2020-09-13 11:39:55 +02:00
Fenny
ec5d66e7a8 v2 2020-09-13 11:20:11 +02:00
Fenny
612c8491ef update startup message 2020-09-11 20:40:32 +02:00
Fenny
11fdb537d1 🎈 prepare for v1.15.0 2020-09-01 14:31:43 +02:00
Fenny
4085a53d78 📦 bump v1.14.4 2020-08-24 10:57:16 +02:00
Fenny
37158a1e15 ♥ fix typo 2020-08-24 10:56:14 +02:00
Fenny
f3359f439a 📦 bump dependencies 2020-08-24 10:35:12 +02:00
Fenny
53a7a6204e
📦 Correct Version 2020-08-16 11:36:25 +02:00
Fenny
cec3629ecb ⚙ update server when calling Handler 2020-08-11 00:08:04 +02:00
Fenny
2ce81c1835 ⚙ init server only once 2020-08-11 00:02:00 +02:00
Fenny
5108d2b3b3 ⚙ init only once 2020-08-10 23:56:47 +02:00
Fenny
254bc30596 ⚙ init only once 2020-08-10 23:56:16 +02:00
Fenny
5b2ade2fee v1.13.4 2020-08-10 16:56:03 +02:00
Fenny
bd483b784e Merge remote-tracking branch 'upstream/master' 2020-08-10 16:52:14 +02:00
ReneWerner87
2c6d7e00c4 🌵hybrid routing with tree and fast router 2020-08-10 10:54:41 +02:00
ReneWerner87
df3c48a734 🌵hybrid routing with tree and fast router 2020-08-10 10:51:38 +02:00
ReneWerner87
945b61d1c3 🌵hybrid routing with tree and fast router 2020-08-09 21:53:15 +02:00
Fenny
6ca4fe500f Update app.go 2020-08-08 02:48:20 +02:00
Fenny
87127f571a 🧹 Remove deprecated Templates 2020-07-28 04:36:56 +02:00
Fenny
62dc7749e2 Replace route count with handler count
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: kiyon <kiyonlin@users.noreply.github.com>
2020-07-22 02:06:32 +02:00
ReneWerner87
b34a77bc96 💉 Sync route method metadata
Co-authored-by: Fenny <fenny@gofiber.io>
2020-07-21 23:30:52 +02:00
Fenny
2c71307f8f 📦 Make router stack accessable
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: kiyon <kiyonlin@users.noreply.github.com>
2020-07-21 22:49:49 +02:00
wernerr
647e08ec00 🚀 compress same route's handler 2020-07-20 19:48:43 +02:00