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

Output not updating when gist is changed #71

Closed
shravan2709 opened this issue Feb 17, 2023 · 4 comments
Closed

Output not updating when gist is changed #71

shravan2709 opened this issue Feb 17, 2023 · 4 comments

Comments

@shravan2709
Copy link

shravan2709 commented Feb 17, 2023

Any changes to my gist are not being reflected in the rendered resume at https://registry.jsonresume.org/shravan2709. The page still shows an old error

Resume json invalid - [{"code":"PATTERN","params":["^([1-2][0-9]{3}-[0-1][0-9]-[0-3][0-9]|[1-2][0-9]{3}-[0-1][0-9]|[1-2][0-9]{3})$","May 2014"],"message":"String does not match pattern ^([1-2][0-9]{3}-[0-1][0-9]-[0-3][0-9]|[1-2][0-9]{3}-[0-1][0-9]|[1-2][0-9]{3})$: May 2014","path":"#/education/1/endDate","description":"e.g. 2014-06-29"}] - Please visit #27

but I deleted the education section entirely to test it. I also just deleted the gist itself, and I still see the same page. Is this being cached server-side, and if yes, is there a way I can cache bust?

Not being able to see changes in real-time makes it pretty hard to work with - especially because the rendering works great using the command line tool but there seems to be extra JSON validation in the registry.

@thomasdavis
Copy link
Member

Is this error still happening?

It does have a cache buffer of 80 seconds.

It's probably related to this error #70

@QuentinSP
Copy link

Hello, I also have this error. How can I solve it ?

@thomasdavis
Copy link
Member

@QuentinSP Have you made sure that your gist is public?

@thomasdavis
Copy link
Member

I figured this out for anyone who was having this issue.

The cache control was not setting correctly when the resume wasn't actually rendered.

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