RaHimsiZ
RaHimsiZ

Reputation: 33

Disable automatic etag header in Rails 3

Rails automatically adds etag to all responses. How can I change this behaviour? I found some examples for rails 2.x, but it doesn't work.

Upvotes: 3

Views: 1270

Answers (1)

ipd
ipd

Reputation: 5714

You could disable caching in your config/environments/*.rb files with:

config.action_controller.perform_caching = false

ian.

Upvotes: 2

Related Questions