about summary refs log tree commit diff
path: root/config/initializers/kaminari_config.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-11-17 18:40:33 +0100
committerGitHub <noreply@github.com>2019-11-17 18:40:33 +0100
commitd14e74eff52352f1a2fb4bc2053bbb28c1aa29e0 (patch)
tree5fd20f50b1bdc8315d5afa59ea66e6c912d9931e /config/initializers/kaminari_config.rb
parent5a2c0707f163f14565d186db48bf0b4fe0b05b4f (diff)
Add cache for OEmbed endpoints to avoid extra HTTP requests (#12403)
* add youtube oembed endpoint

* add check for oembed endpoint

* change unless for a more readable if

* clear blank lines

* endpoint via https

* Fix string literal in condition

* use cache for endpoints

* use cache for endpoints

* clean up and adding check

* clean up and remove redundant return

* add html check

* add false to return

* use double quotes

* use double quotes

* Clean up
Diffstat (limited to 'config/initializers/kaminari_config.rb')
0 files changed, 0 insertions, 0 deletions