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

Add cache buster to http requests #10

Closed
brendancol opened this issue Jan 21, 2016 · 2 comments
Closed

Add cache buster to http requests #10

brendancol opened this issue Jan 21, 2016 · 2 comments
Assignees
Labels

Comments

@brendancol
Copy link
Collaborator

No description provided.

@brendancol brendancol added the bug label Jan 21, 2016
@brendancol brendancol self-assigned this Jan 21, 2016
@jbednar
Copy link
Member

jbednar commented Jan 21, 2016

I'd rather add a real request specification, not just a random id, so that browser caching is used when it really makes sense (as it will when switching between widget values, e.g. different transfer functions). But that requires constructing some string that encapsulates everything about the request that could change.

@brendancol
Copy link
Collaborator Author

So in the PR above I DID go the UUID route. This is a temporary fix, and http will be removed once bokeh plot frame height/width are exposed to the server side. The other params (transfer func, agg, field...) are not actually consumed from the url, so thought that might be confusing if they are included only to bust cache.

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

No branches or pull requests

2 participants