docbrown/app/models/concerns
Vaidehi Joshi 9e40e68682
Allow Nginx cached static content to be purged (#9857) [deploy]
* Only bust_fastly_cache if fastly is enabled

* Conditionally bust nginx cache from CacheBuster#bust

* Don't _actually_ call out to openresty

* Remove redundant check for FASTLY_API_KEY in CacheBuster

* Clean up and add a spec

* Do not call .purge_ methods if fastly is not configured

* Add OPENRESTY_ ENV vars to .env_sample

* Remove extra / prepending path

* Remove ConfigurationError, clean up Purgeable concern

* Use raise instead of fail like fastly-ruby

* No longer check for Rails.env.production?

* Use let! to create article in BustMultipleCachesWorker spec
2020-08-21 09:31:23 -07:00
..
.keep Initial commit 2018-02-28 16:11:08 -05:00
purgeable.rb Allow Nginx cached static content to be purged (#9857) [deploy] 2020-08-21 09:31:23 -07:00
reactable.rb [deploy] Rename positive_reactions_count to public_reactions_count in logic (#7926) 2020-05-26 12:36:28 -04:00
searchable.rb [deploy] Delay RemoveFromIndex Job to Fix Callback Race Conditions (#7800) 2020-05-12 14:39:16 -05:00
user_subscription_sourceable.rb [deploy] Add subscriber_email to user_subscriptions & more backend updates (#8723) 2020-06-18 14:40:08 -04:00