mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 19:09:22 +02:00
fixed hyperlinks
This commit is contained in:
parent
7fa667922e
commit
2721386d21
1 changed files with 5 additions and 5 deletions
|
@ -57,18 +57,18 @@ We will forgo (negligible) load-time improvements by leaving caching off.
|
|||
## (Footnote - How to implement caching)
|
||||
Here are notes for implementing caching using whitenoise should we decide to pick this up again in the future;
|
||||
|
||||
1 - Add caching capability to a sandbox using the following steps (or )
|
||||
1 - Add caching capability to a sandbox using the following steps (or [following documentation for command line](https://cloud.gov/docs/services/external-domain-service/))
|
||||
- Log-in to the cloud.gov website
|
||||
- . Click "Add Service"...
|
||||
- [Navigate to "Services"](https://dashboard.fr.cloud.gov/services). Click "Add Service"...
|
||||
- Choose "Marketplace Service"
|
||||
- For the fields, select Cloud Foundry, Organization = "cisa-dotgov", Space = "[your sandbox. eg. "nl"]". Click "Next"
|
||||
- For the Service, select "External Domain". Click "Next"
|
||||
- For the Plan, select "domain-with-cdn" (here is )
|
||||
- For the Plan, select "domain-with-cdn" (here is [documentation on CDN](https://cloud.gov/docs/management/custom-domains/))
|
||||
- If you choose to bind the app, a JSON string will be required (we believe this should do it: {"domains": "example.gov"}, where "example.gov" is replaced with the domain name you want to use for this application)
|
||||
Before you can continue, work with Cameron to setup the DNS in AWS (use the following documentation linked below):
|
||||
https://cloud.gov/docs/services/external-domain-service/
|
||||
- Once the DNS is setup, you *should* be able to continue. We did not test this.
|
||||
|
||||
2- Enable caching in the code with Whitenoise (see )
|
||||
2- Enable caching in the code with Whitenoise (see [documentation on Whitenoise Caching](https://whitenoise.readthedocs.io/en/latest/djangohtml#add-compression-and-caching-support))
|
||||
|
||||
3- Take performance measurements before/after caching is enabled to determine cost-benefits of implementing caching. (NOTE:  might be useful for this step)
|
||||
3- Take performance measurements before/after caching is enabled to determine cost-benefits of implementing caching. (NOTE: [lighthouse](https://developer.chrome.com/blog/lighthouse-load-performance) might be useful for this step)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue