jsonresume / registry-functions

DEPRECATED - SEE MONO REPO -
https://github.com/jsonresume/jsonresume.org
19 stars 21 forks source link

Output not updating when gist is changed #71

Closed shravan2709 closed 1 year ago

shravan2709 commented 1 year ago

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 https://github.com/jsonresume/registry-functions/issues/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 commented 1 year ago

Is this error still happening?

It does have a cache buffer of 80 seconds.

It's probably related to this error https://github.com/jsonresume/registry-functions/issues/70

QuentinSP commented 1 year ago

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

thomasdavis commented 1 year ago

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

thomasdavis commented 1 year ago

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.