Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce a way to disable the generated view cache of ScaffoldingViewResolver #41

Open
saw303 opened this issue Jan 11, 2018 · 1 comment

Comments

@saw303
Copy link

saw303 commented Jan 11, 2018

I'm using version 3.4.1 of the scaffolding plugin and I noticed that there is no way to disable the generatedViewCache of grails.plugin.scaffolding.ScaffoldingViewResolver.

What is the use case?

I installed the scaffolding templates to my project in order to modify them according the project needs. Since there is no way around that caching feature I have to restart the Grails application to see modifications made in the scaffolding template. This is a very time consuming job.

Possible solutions

  • Introduce a toggle switch that I can address in my application.yml to enable/disable the cache.
  • (In development environment only): Create a hash of the view and compare it with the hash that is currently in the cache

What do you guys think about it? Any comments?

@yellowsnow
Copy link

Hi all,

Is there any news for this issue?

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants