diff --git a/docs/behind-the-scenes.txt b/docs/behind-the-scenes.txt index acd8978..d607b44 100644 --- a/docs/behind-the-scenes.txt +++ b/docs/behind-the-scenes.txt @@ -9,7 +9,7 @@ behind the scenes, to help you debug performance problems for instance. Offline cache ------------------------- -If offline cache is activated, rhe first thing {% compress %} tries to do is +If offline cache is activated, the first thing {% compress %} tries to do is retrieve the compressed version for its nodelist from the offline manifest cache. It doesn't parse, doesn't check the modified times of the files, doesn't even know which files are concerned actually, since it doesn't look inside the @@ -19,7 +19,7 @@ directory that holds the compressed files. The format of the manifest is simply a key <=> value dictionnary, with the hash of the nodelist being the key, and the HTML containing the element code for the combined file or piece of code being the value. Generating the offline manifest, using the ``compress`` -management command, also generate the combined files referenced in the manifest. +management command, also generates the combined files referenced in the manifest. If offline cache is activated and the nodelist hash can not be found inside the manifest, {% compress %} will raise an ``OfflineGenerationError``.