rtomayko / rack-cache

Real HTTP Caching for Ruby Web Apps
http://rtomayko.github.io/rack-cache/
Other
822 stars 124 forks source link

Midldleware is displayed as Module rather than Rack::Cache on Rails 6.1.5 #175

Closed acronin-stash closed 2 years ago

acronin-stash commented 2 years ago

Similar to issue: https://github.com/rtomayko/rack-cache/issues/172 but this is happening on: Rails 6.1.5 Ruby 3.0.1.

Added config.middleware.insert_after(Rack::ETag, Rack::Cache) to application.rb to confirm and getting this output from rake middleware:

use ActionDispatch::HostAuthorization
use Rack::Sendfile
use ActionDispatch::Static
use Module
use ActionDispatch::Executor
use Rack::Runtime
use ActionDispatch::RequestId
use RequestStore::Middleware
use ActionDispatch::RemoteIp
use Rails::Rack::Logger
use ActionDispatch::ShowExceptions
use Sentry::Rails::CaptureExceptions
use ActionDispatch::DebugExceptions
use Sentry::Rails::RescuedExceptionInterceptor
use ActionDispatch::ActionableExceptions
use ActionDispatch::Reloader
use ActionDispatch::Callbacks
use ActiveRecord::Migration::CheckPending
use Rack::Head
use Rack::ConditionalGet
use Rack::ETag
use Module
run Lembas::Application.routes
grosser commented 2 years ago

please open issues at https://github.com/rack/rack-cache