mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
added comma
This commit is contained in:
parent
df08273d14
commit
bc00514b62
1 changed files with 1 additions and 1 deletions
|
@ -438,7 +438,7 @@ location ~ ^/assets/ {
|
|||
}
|
||||
</plain>
|
||||
|
||||
When files are precompiled, Sprockets also creates a "gzipped":http://en.wikipedia.org/wiki/Gzip (.gz) version of your assets. Web servers are typically configured to use a moderate compression ratio as a compromise, but since precompilation happens once Sprockets uses the maximum compression ratio, thus reducing the size of the data transfer to the minimum. On the other hand, web servers can be configured to serve compressed content directly from disk, rather than deflating non-compressed files themselves.
|
||||
When files are precompiled, Sprockets also creates a "gzipped":http://en.wikipedia.org/wiki/Gzip (.gz) version of your assets. Web servers are typically configured to use a moderate compression ratio as a compromise, but since precompilation happens once, Sprockets uses the maximum compression ratio, thus reducing the size of the data transfer to the minimum. On the other hand, web servers can be configured to serve compressed content directly from disk, rather than deflating non-compressed files themselves.
|
||||
|
||||
Nginx is able to do this automatically enabling +gzip_static+:
|
||||
|
||||
|
|
Loading…
Reference in a new issue