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

How to set up the file metadata.json not to be generated or requested? #425

Open
wuxiemian opened this issue Apr 27, 2024 · 5 comments
Open
Labels
enhancement New feature or request

Comments

@wuxiemian
Copy link

I generated the online website just for my own convenience for cross-platform reading, so I don’t need some SEO-related files. Can you add a setting to cancel the generation of these files to make website access faster?

@wuxiemian wuxiemian added the enhancement New feature or request label Apr 27, 2024
@KosmosisDire
Copy link
Owner

The metadata will actually be used in the website itself in future versions and it is also used to enable incremental export. It actually has nothing to do with SEO. Is there a reason you don't want it?

@wuxiemian
Copy link
Author

The metadata will actually be used in the website itself in future versions and it is also used to enable incremental export. It actually has nothing to do with SEO. Is there a reason you don't want it?

Because I have a lot of documents, the metadata.json file is relatively large, and the request for metadata.json is not asynchronous, so when the website is opened for the first time or when the cache fails, the page will freeze until the request is completed. I tried to remove the metadata.json request myself and found that it had no effect, so I thought it was used to optimize SEO. If it has other uses in the future, can you try to request the file asynchronously?

@KosmosisDire
Copy link
Owner

It is already asynchronous, however the page needs to wait for that data before it can function properly. What I can do however, is separate the crucial data into a separate file that should be much smaller. I think that is a better way to do it anyway, thank you for the feedback.

@KosmosisDire
Copy link
Owner

Well, also I should be able to display the current page as well without that data. I only need that data to load embedded pages, and to allow navigation.

@wuxiemian
Copy link
Author

Well, also I should be able to display the current page as well without that data. I only need that data to load embedded pages, and to allow navigation.

It would be great if it could be implemented. Also I really appreciate your plugin, it's one of the most important reasons why I use Obsidian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants