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

Local cache module: use createObjectUrl for rendering cache #11393

Open
patmmccann opened this issue Apr 24, 2024 · 3 comments
Open

Local cache module: use createObjectUrl for rendering cache #11393

patmmccann opened this issue Apr 24, 2024 · 3 comments
Assignees

Comments

@patmmccann
Copy link
Collaborator

patmmccann commented Apr 24, 2024

Type of issue

feature

Description

Related #11353

The goal is to replace the use of prebid cache with a local cache with configuration. This could be a module to provide the alternate caching mechanism with a goal of improved performance and decreased network activity.

Player compatability may be unknown at time of release and publishers would be encouraged to use in an experimental fashion.

@patmmccann patmmccann assigned patmmccann and unassigned patmmccann Apr 30, 2024
@patmmccann patmmccann changed the title Use createObjectUrl for outstream rendering cache Local cache module: use createObjectUrl for rendering cache May 6, 2024
@patmmccann patmmccann moved this from Triage to Ready for Dev in Prebid.js Tactical Issues table May 6, 2024
@mkomorski mkomorski self-assigned this Nov 7, 2024
@karimMourra
Copy link
Collaborator

Does the local cache work with GAM auctions ? For example, if the winning bid then has to compete in a GAM auction via Google IMA SDK, does this work ?

@dgirardi
Copy link
Collaborator

dgirardi commented Dec 16, 2024

Does the local cache work with GAM auctions ? For example, if the winning bid then has to compete in a GAM auction via Google IMA SDK, does this work ?

No. There are two issues:

  • GAM will not accept anything but https at the beginning of VAST URLs, it cannot be a macro that resolves to a blob URL. We can work around this by using a dummy URL and intercepting it client side with service workers, but setting that up takes more effort than it's ideal.
  • IMA runs in a cross-origin frame and thus cannot fetch blobs created in the first party's origin. I don't think we can work around this - the SDK needs to support it, with some way to pass it the contents of the VAST / blob.

@karimMourra
Copy link
Collaborator

@patmmccann if GAM can't support this then is there any value to implementing ?

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

No branches or pull requests

4 participants