Skip to content

cache not working #1210

@passalini

Description

@passalini

I google and try a lot, but I just can't see/do the AMS's cache work.
Right now I'm in development env using 0.10.0.rc3

ps: I can use Rails.cache normally

# enviroments/development.rb
  config.action_controller.perform_caching = true
  config.cache_store = :dalli_store, 'localhost:11211'
# lesson_serializer.rb
class LessonSerializer < ActiveModel::Serializer
  cache key: 'lesson-serialized'
  delegate :cache_key, to: :object

  attributes ....
end

Any help will be very welcome!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions