class AvatarsController < ApplicationController
  include DynamicImage::Controller

  private

  def model
    Avatar
  end
end

class AvatarsController < ApplicationController
  include DynamicImage::Controller

  caches_page :show, :uncropped, :original

  private

  def model
    Avatar
  end
end

Enable page caching for avatars
Enable page caching for avatars
