Skip to content

Commit

Permalink
documentation correction
Browse files Browse the repository at this point in the history
  • Loading branch information
rickb777 committed Sep 30, 2019
1 parent 1ee7976 commit 06338a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ Please see the [GoDoc](https://godoc.org/github.com/rickb777/servefiles) for mor

## v3

Version 3 brings Go module support. Also, brotli encoding is supported alongside gzip encoding. Brotli now has widespread
implementation in most browsers. You should compress your textual assets using Brotli as part of your build pipeline, uploading
the original and compressed files (including Javascript, CSS, HTML, SVG etc) to your production server's asset directories.
Version 3 brings Go module support. Also, `brotli` encoding is supported alongside `gzip` encoding. Brotli now has widespread implementation in most browsers. You can compress your textual assets (including Javascript, CSS, HTML, SVG etc) using Brotli and/or Gzip as part of your build pipeline, uploading both the original and compressed files to your production server's asset directories. Brotli compression takes longer than Gzip but produces more compact files. Compression is, of course, optional.

## Status

Expand Down
2 changes: 1 addition & 1 deletion v3/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/rickb777/servefiles/v3"
)

func Example() {
func ExampleNewAssetHandler() {
// where the assets are stored
localPath := "."

Expand Down

0 comments on commit 06338a6

Please sign in to comment.