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

Generate static HTML #57

Open
KonradHoeffner opened this issue Mar 21, 2022 · 2 comments
Open

Generate static HTML #57

KonradHoeffner opened this issue Mar 21, 2022 · 2 comments

Comments

@KonradHoeffner
Copy link
Contributor

For RAM and CPU constrained environments and some hosting scenarios with unchanging data it would be great to pregenerate the HTML pages to serve them with a simple HTML server. Is this supported or could it be easily implemented in lodview? Or is it better to just crawl it and download it using for example wget? I can help with the implementation either in Java or as a Dockerfile.

@KonradHoeffner
Copy link
Contributor Author

KonradHoeffner commented Mar 21, 2022

Using for example wget http://localhost:1234/ontology --mirror -p --convert-links does not work correctly, as the page is not initialized on download.
@dvcama: Is it possible to configure LodView so that it doesn't use JavaScript anymore to load data after the page has been served, but instead serve the complete page at once so that it works without JavaScript?

@KonradHoeffner
Copy link
Contributor Author

I looked at the source code as well but I have no experience with Spring and don't know how to generate static HTML with it.

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

1 participant