-
Notifications
You must be signed in to change notification settings - Fork 750
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
Cache vast xml #643
Cache vast xml #643
Conversation
exchange/exchange.go
Outdated
if requestExt.Prebid.Cache != nil { | ||
shouldCacheBids = requestExt.Prebid.Cache.Bids != nil | ||
shouldCacheVAST = requestExt.Prebid.Cache.VastXML != nil | ||
} | ||
shouldCacheBids = requestExt.Prebid.Cache != nil && requestExt.Prebid.Cache.Bids != nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this line redundant with the above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, thank you. will remove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
* Made some changes to support VAST cacheing. * Implemented vastxml cacheing. * Fixed JSON in markdown. * Added endpoint contract tests. * Removed redundant line.
* Made some changes to support VAST cacheing. * Implemented vastxml cacheing. * Fixed JSON in markdown. * Added endpoint contract tests. * Removed redundant line.
* Made some changes to support VAST cacheing. * Implemented vastxml cacheing. * Fixed JSON in markdown. * Added endpoint contract tests. * Removed redundant line.
Fixes #324.
This does not implement
ttlseconds
, which was described in the ticket as optional. To support that, we'll need to add it to the whole stack (down through Prebid Cache)... so it would be another few PRs.