Make slight updates to the Technical Docs (#7011)

This commit is contained in:
Arit Amana 2020-04-01 19:26:52 -04:00 committed by GitHub
parent e78b3d8ac6
commit 01465efcb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View file

@ -10,9 +10,9 @@ version 5.2.3, due for an upgrade to 6.x.x.
To decrease loading time, we use edge-caching extensively. Taking advantage of
edge-caching means that we do not go all the way to the server to render every
page. Therefore, on pages that are cached we don't have access to helper methods
like `current_user`. A page is edge-cached through our CDN ([Fastly][fastly]) if
the controller contains this line for the relevant action:
page. However this means that, on cached pages, we don't have access to helper
methods like `current_user`. A page is edge-cached through our CDN
([Fastly][fastly]) if the controller contains this line for the relevant action:
```
before_action :set_cache_control_headers

View file

@ -17,7 +17,8 @@ For the Dev.to tech stack we use:
- [_Sidekiq_](https://github.com/mperham/sidekiq) and
[_Active Job_](https://guides.rubyonrails.org/active_job_basics.html) for
background workers
- [_Algolia_](https://www.algolia.com/) for search
- [_Algolia_](https://www.algolia.com/) for search (Algolia will be phased out
in favor of [_Elasticsearch_](https://www.elastic.co/))
- [Ransack](https://github.com/activerecord-hackery/ransack) for internal search
- [_Redcarpet_](https://github.com/vmg/redcarpet) and
[_Rouge_](https://github.com/jneen/rouge) to parse Markdown