https://github.com/chapter-three/cdn_pull_origin
Simple CDN (origin pull only) module for Drupal 8. Works with Amazon CloudFront.
https://github.com/chapter-three/cdn_pull_origin
Last synced: about 2 months ago
JSON representation
Simple CDN (origin pull only) module for Drupal 8. Works with Amazon CloudFront.
- Host: GitHub
- URL: https://github.com/chapter-three/cdn_pull_origin
- Owner: chapter-three
- License: gpl-2.0
- Created: 2016-03-27T07:59:16.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-18T19:19:29.000Z (about 9 years ago)
- Last Synced: 2025-01-18T06:27:39.045Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
This is a very simple CDN (Origin Pull) module for Drupal 8. Works with Amazon CloudFront.
Blog post URL: [https://www.chapterthree.com/blog/origin-pull-cdn-drupal-8](https://www.chapterthree.com/blog/origin-pull-cdn-drupal-8)
I used code from here: [http://www.metaltoad.com/blog/amazon-cloudfront-with-drupal-8](http://www.metaltoad.com/blog/amazon-cloudfront-with-drupal-8) with some improvements:
- Fixed deprecated function calls.
- Added UI
- Configurable via settings.phpConfiguration via settings.php
```
$config['cdn_pull_origin.settings'] = [
// CDN could be conditionally disabled here.
'enabled' => TRUE,
'domain' => 'https://d111111abcdef8.cloudfront.net',
];
```