```ruby

module Pagelime
  module Rails
    class Engine < ::Rails::Engine
      engine_name :pagelime
      
      initializer "pagelime.initialize" do |app|
        ::Pagelime::Rails.initialize!
        
        app.middleware.use Rack::Pagelime
      end
    end
  end
end```

Modify HTML before HTTP caching features
user
```ruby

module Pagelime
  module Rails
    class Engine < ::Rails::Engine
      engine_name :pagelime
      
      initializer "pagelime.initialize" do |app|
        ::Pagelime::Rails.initialize!
        
        app.middleware.insert_before Rack::ConditionalGet, Rack::Pagelime
      end
    end
  end
end```
assistant