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

前端 未结 6 1469
心在旅途
心在旅途 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条回答
  •  -上瘾入骨i
    2021-02-04 10:42

    If you simply want to disable cache for your browser while development, you can use Web Developer add on for Firefox:

    https://addons.mozilla.org/en-US/firefox/addon/60

    Install this add on & choose "Disable cache". Remember, that will disable caching for all the websites.

提交回复
热议问题