1

I have a JSF web application, where the dynamic content is based on data taken from a database. Since all the data is available in advance, I would like to see if there is a way to pre-generate all the pages into their final HTML format on the server, so that the user experiences much better performance and doesn't have to wait for the page generation. Moreover - my app is running on mobile devices and I want to have the option of using it offline, by downloading everything to the device in advance (assume I don't need any business logic to work at real time).

So, I'm not talking here about the built-in caching of JSF - I'm looking for a kind of method that converts a JSF app into some static website that works much faster and can run offline as well.

Thanks.

1 Answers1

1

You can use HTML5 for offline cache.

See a few articles about it here:

  1. Tutorial
  2. Tutorial

There are more examples on the internet for HTML5 and working offline

Dejell
  • 13,947
  • 40
  • 146
  • 229