Skip to content

Releases: ffss92/fileserver

v0.6.1

Choose a tag to compare

@ffss92 ffss92 released this 21 Feb 22:39

In early versions compression was done 'on-the-fly' by a [http.ResponseWriter] wrapper.
This was bad because it was not possible to for the [http.ServeContent] function to determine
and set the Content-Length header to the response.

Not setting the Content-Length header cause all sorts of problems, like being unable to serve
Range requests, enabling connection reuses, etc.

For now, the server only compresses files that are less than 15mbs in length, since it's done in memory,
and should cover most assets normally served in a web application.

Full Changelog: v0.6.0...v0.6.1

v0.6.0

Choose a tag to compare

@ffss92 ffss92 released this 03 Dec 11:39
  • Added Cache-Control option for bundled assets and SPA.

Full Changelog: v0.5.1...v0.6.0

v0.5.1

Choose a tag to compare

@ffss92 ffss92 released this 03 Dec 10:56
  • Fixed CLI bug
  • Added pksite badge to README

Full Changelog: v0.5.0...v0.5.1

v0.5.0

Choose a tag to compare

@ffss92 ffss92 released this 03 Dec 01:58

Added ServeSPA

Full Changelog: v0.4.0...v0.5.0

v0.4.0

Choose a tag to compare

@ffss92 ffss92 released this 22 Nov 11:57
  • Added fileserver.ServeFS.

Full Changelog: v0.3.2...v0.4.0

v0.3.2

Choose a tag to compare

@ffss92 ffss92 released this 10 Nov 18:43

Append Accept-Encoding to Vary header instad of setting it.

Full Changelog: v0.3.1...v0.3.2

v0.3.1

Choose a tag to compare

@ffss92 ffss92 released this 10 Nov 18:25

Added noCacheAll as the default server cache control function.

Full Changelog: v0.3.0...v0.3.1

v0.3.0

Choose a tag to compare

@ffss92 ffss92 released this 10 Nov 18:23

Full Changelog: v0.2.0...v0.3.0

v0.2.0

Choose a tag to compare

@ffss92 ffss92 released this 10 Nov 10:48

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@ffss92 ffss92 released this 10 Nov 04:09
1283c1e