-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: move sections from README to /docs (#3674)
- Loading branch information
Showing
3 changed files
with
17 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
### CDN Integration *(Cloudflare)* | ||
|
||
As of `v1.12.4`, mail archive supports a "Static Mode" which resembles the MHonArc interface. | ||
When enabled, from the Settings menu, the user is directed to `/arch/browse/static/` pages. | ||
Cloudflare has been configured to cache these pages for `CACHE_CONTROL_MAX_AGE`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
### Notes on Infrastructure | ||
|
||
This section describes some of the parts of the system that aren't obvious. | ||
|
||
1) How are records added to the index? | ||
|
||
When a Message object is saved, the system uses Django Signals to enqueue a Celery task to update the Elasticsearch index. See mlarchive/archive/signals.py, CelerySignalProcessor. Initialized in archive/apps.py via settings.ELASTICSEARCH_SIGNAL_PROCESSOR. | ||
|
||
`CelerySignalProcessor`: when objects are save checks to see if an index exists for them. If so calls task to update index. |