Javascript is cached in development mode with asset pipeline

后端 未结 8 986
感动是毒
感动是毒 2021-02-07 07:53

I recently upgraded my application to rails 3.1 and generally everything seems to be working but one thing is driving me insane.

I have 2 main js files, we\'ll call the

8条回答
  •  感情败类
    2021-02-07 08:57

    I had the same issue, but config.action_controller.perform_caching was already set to false.

    For me and another guy I was working with, the problem was that Chrome was caching the page despite the settings in Rails.

    To fix it, we just closed the tab, opened a new tab, and visited the site again.

提交回复
热议问题