ojosproject / website

The Ojos Project website containing our blogs and documentation!
https://ojosproject.org/
GNU General Public License v3.0
0 stars 0 forks source link

Docusaurus (or Render) keeps old versions of the website cached #42

Open calejvaldez opened 2 weeks ago

calejvaldez commented 2 weeks ago

Summary

Same as https://gitlab.com/ojosproject/docs/-/issues/21, it seems to be the same issue.

What is the expected correct behavior?

Old pages to display a 404 page, or redirect.

Steps to reproduce

Go to https://ojosproject.org/docs/url/developers/

Relevant logs and/or screenshots

Image showing the removed Developers page.

Operating System

iOS

Browser

Safari

calejvaldez commented 1 week ago

I think the issue might be that we don't have a redirect. https://github.com/ojosproject/website/blob/0fe720ddec4081aa66491ecc36c93d1f54ff3134/docusaurus.config.ts#L67

At the same time, I still think this is a bug, because the files are deleted and should instead redirect to a 404.