Topic: How to serve static version of a dynamic page?
I have a Wordpress site that with a plugin it does the following:
- the first time a page is accessed, it's generated and served.
- a static version of the pages is saved in disk.
- all other requests will receive the static version saved in the disk. Wordpress never more regenerates the page nor access the database (that's a great improvement to the performance because my pages almost never change).
- if for some reason I need to regenerate pages I go to admin page and order Wordpress to delete all cached pages.
My question is: how do I do the same in Rails?