Skip to content

forceReload #35

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

forceReload #35

wants to merge 1 commit into from

Conversation

micheg
Copy link

@micheg micheg commented Jul 21, 2014

Often during the development of mustache templates are retrieved from the cache (ex during development with Zope).
This behavior can be annoying, you could add an option to force the reload. (Via jquery ajax call)

externalTemplateDataType: 'text',

// If set to true, it will force requested pages not to be cached by the browse, useful during development
forceReload: false
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cacheTemplates?

@jonnyreeves
Copy link
Owner

Great feature, do you feel cacheTemplates (with a default value of false) would be more descriptive?

Also, could you please add a unit test to confirm the functionality does not break in future version?

Thanks for contributing
Jonny.

@jonnyreeves
Copy link
Owner

Hahah, also I just noticed that you also have a cat in your avatar :D 🐱

@micheg
Copy link
Author

micheg commented Jul 21, 2014

Ok! I will do in weekend!

2014-07-21 11:10 GMT+02:00 John Reeves [email protected]:

Hahah, also I just noticed that you also have a cat in your avatar :D [image:
🐱]


Reply to this email directly or view it on GitHub
#35 (comment)
.

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

Successfully merging this pull request may close these issues.

2 participants