Skip to content

Commit

Permalink
Impart some hard-won knowledge concerning production deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbrand committed Dec 15, 2012
1 parent e90995c commit ca8d61e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.rst
Expand Up @@ -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
Expand Down

0 comments on commit ca8d61e

Please sign in to comment.