1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

fix markup

This commit is contained in:
Konstantin Haase 2011-06-09 09:35:37 +02:00
parent 6ed10b95b7
commit e2ebe0f8f7

View file

@ -217,7 +217,7 @@ Note that the public directory name is not included in the URL. A file
<tt>http://example.com/css/style.css</tt>.
Use the <tt>:static_cache_control</tt> setting (see below) to add
+Cache-Control+ header info.
<tt>Cache-Control</tt> header info.
== Views / Templates
@ -938,7 +938,7 @@ try {rack-cache}[http://rtomayko.github.com/rack-cache/]:
end
Use the <tt>:static_cache_control</tt> setting (see below) to add
+Cache-Control+ header info to static files.
<tt>Cache-Control</tt> header info to static files.
=== Sending Files
@ -1214,7 +1214,7 @@ You can access those options via <tt>settings</tt>:
modular apps.
[static_cache_control] When Sinatra is serving static files, set this to add
+Cache-Control+ headers to the responses. Uses the
<tt>Cache-Control</tt> headers to the responses. Uses the
+cache_control+ helper. Disabled by default.
Use an explicit array when setting multiple values:
<tt>set :static_cache_control, [:public, :max_age => 300]</tt>