Browse files

Impart some hard-won knowledge concerning production deployments

  • Loading branch information...
1 parent e90995c commit ca8d61e1b1efef692ffbe70486eaf2cd351ae825 @jcbrand jcbrand committed Dec 15, 2012
Showing with 14 additions and 0 deletions.
  1. +14 −0 README.rst
14 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.

0 comments on commit ca8d61e

Please sign in to comment.