Sha256: e2d74f2619185d9e5f6fd3231f1661f8bb34100ecc82f2e8d017c7eb6c0fd1f6

Contents?: true

Size: 941 Bytes

Versions: 128

Compression:

Stored size: 941 Bytes

Contents

<html>
  <head>
    <title>Sample Rack::Cache Sinatra app</title>
    <style type="text/css" media="screen">
      body {
        font-family: Georgia;
        font-size: 24px;
        text-align: center;
      }

      #headers {
        font-size: 16px;
      }

      input {
        font-size: 24px;
        cursor: pointer;
      }
    </style>
  </head>
  <body>
    <h1>Last updated at: <%= $updated_at.strftime('%l:%m:%S%P') %></h1>

    <p>
      <form action="/" method="post">
        <input type="hidden" name="_method" value="PUT">
        <input type="submit" value="Expire the cache.">
      </form>
    </p>

    <div id="headers">
      <h3>Headers:</h3>

      <% response.headers.each do |key, value| %>
        <p><%= key %>: <%= value %></p>
      <% end %>

      <h3>Params:</h3>
      <% params.each do |key, value| %>
        <p><%= key %>: <%= value || '(blank)' %></p>
      <% end %>
    </div>
  </body>
</html>

Version data entries

128 entries across 104 versions & 23 rubygems

Version Path
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/example/sinatra/views/index.erb
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/example/sinatra/views/index.erb
josh-rack-cache-0.5.1 example/sinatra/views/index.erb
rtomayko-rack-cache-0.3.9 example/sinatra/views/index.erb
rtomayko-rack-cache-0.4 example/sinatra/views/index.erb
rtomayko-rack-cache-0.5.1 example/sinatra/views/index.erb
rtomayko-rack-cache-0.5 example/sinatra/views/index.erb
swipe-rails-0.0.5 vendor/bundle/gems/rack-cache-1.2/example/sinatra/views/index.erb
active_mailer-0.0.9 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/example/sinatra/views/index.erb
active_mailer-0.0.8 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/example/sinatra/views/index.erb
active_mailer-0.0.7 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/example/sinatra/views/index.erb
active_mailer-0.0.6 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/example/sinatra/views/index.erb
font-awesome-rails-3.1.1.2 vendor/ruby/1.9.1/gems/rack-cache-1.2/example/sinatra/views/index.erb
font-awesome-rails-3.1.1.2 vendor/ruby/2.0.0/gems/rack-cache-1.2/example/sinatra/views/index.erb
font-awesome-rails-3.1.1.1 vendor/ruby/2.0.0/gems/rack-cache-1.2/example/sinatra/views/index.erb
font-awesome-rails-3.1.1.1 vendor/ruby/1.9.1/gems/rack-cache-1.2/example/sinatra/views/index.erb
challah-1.0.0.beta3 vendor/bundle/gems/rack-cache-1.2/example/sinatra/views/index.erb
fc-webicons-0.0.4 vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/example/sinatra/views/index.erb
challah-1.0.0.beta2 vendor/bundle/gems/rack-cache-1.2/example/sinatra/views/index.erb
challah-1.0.0.beta vendor/bundle/gems/rack-cache-1.2/example/sinatra/views/index.erb