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

Metadata expiration (validUntil) timestamp #265

Closed
juanpscotto opened this issue Nov 2, 2017 · 3 comments
Closed

Metadata expiration (validUntil) timestamp #265

juanpscotto opened this issue Nov 2, 2017 · 3 comments

Comments

@juanpscotto
Copy link

How to change the validUltil timestamp generated for the metadata ??

@pitbulk
Copy link
Contributor

pitbulk commented Nov 2, 2017

The getSPMetadata method does not accept parameters, you will need to use directly the Metadata builder and provide validUntil and cacheDuration values.

@pitbulk pitbulk closed this as completed in 1b2a413 May 2, 2018
@whatch
Copy link

whatch commented May 3, 2018

I don't see any way to provide these parameters to the build tool? Is this something we can just edit by hand and not worry about?

@pitbulk
Copy link
Contributor

pitbulk commented May 3, 2018

On the view that generates the metadata, you only need to extend the getSPMetadata method.

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

3 participants