How to prevent Grails from caching old versions of gsp file?

前端 未结 6 1477
心在旅途
心在旅途 2021-02-04 10:20

I am making modifications to /grails-app/views/index.gsp.

When I save the file and refresh http://localhost:8080/index.gsp in Firefox, I am getting an old version of the

6条回答
  •  悲哀的现实
    2021-02-04 10:37

    Make sure you are running in dev mode (i.e., grails run-app and not grails test|prod run-app, test and production will enable caching of the pages. If you are in dev mode, try holding the shift key when click the Firefox refresh.

提交回复
热议问题