From ca8d61e1b1efef692ffbe70486eaf2cd351ae825 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Sat, 15 Dec 2012 08:44:35 +0200 Subject: [PATCH] Impart some hard-won knowledge concerning production deployments --- README.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.rst b/README.rst index 770bfc2..9a9ce24 100644 --- a/README.rst +++ b/README.rst @@ -226,6 +226,20 @@ Some of the included tests are functional tests that require a XMPP server runni ./bin/test -a 2 -s collective.xmpp.core +============================== +Tips for production deployment +============================== + +-------------------------- +Don't cache @@xmpp-loader: +-------------------------- + +Make sure the **${site_url}/@@xmpp-loader** URL isn't cached. This view +returns an authentication token which has to be different each time you +reload your page. + +If you cache this, the token won't change and you won't be able to communicate +with the XMPP server. ======= Credits