# You should have received a copy of the GNU Affero General Public License
# along with shcgi. If not, see <http://www.gnu.org/licenses/>.
+. "${_EXEC}/shcgi/forms.sh"
+
[ -z "$NAVIGATION" ] \
&& NAVIGATION=($(printf %s\\n "${_EXEC}"/pages/*.sh |sed -r 's;^.*/([^/]*)\.sh$;\1;'))
. "${_EXEC}/pages/${PAGE}.sh"
+# prevent browsers from caching generated pages
+printf "Cache-Control: no-cache, no-store, must-revalidate\r\nPragma: no-cache\r\nExpires: 0\r\n"
printf "Content-Type: text/html;charset=utf-8\r\n\r\n"
. "${_EXEC}/templates/frame.html.sh"