Skip to content

Commit

Permalink
format style and update text
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmoudz committed Jun 27, 2015
1 parent 30a07ed commit d4f03bb
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions src/config/cdn.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,17 @@
| Of course, examples of configuring each provider platform that is
| supported by Laravel is shown below to make development simple.
|
| version: 'latest' means versioning is not enabled, you can replace it
| by your version to enabled it.
|
*/
'providers' => [

'aws' => [

's3' => [

'version' => 'latest', // If versioning is not enabled then set to latest
'version' => 'latest',

'region' => '',

Expand Down Expand Up @@ -110,17 +113,19 @@
| The following list is a set of canned ACLs and the associated
| predefined grants: private, public-read, public-read-write, authenticated-read
| bucket-owner-read, bucket-owner-full-control, log-delivery-write
|
*/
'acl' => 'public-read',

/*
|--------------------------------------------------------------------------
| Use CloudFront as the CDN
| CloudFront as CDN
|--------------------------------------------------------------------------
|
| Amazon S3 can be linked to CloudFront through distributions. This allows
| the files in your S3 buckets to be served from a number of global
| locations to achieve low latency and faster page load times.
|
*/
'cloudfront' => [
'use' => false,
Expand All @@ -129,25 +134,31 @@

/*
|--------------------------------------------------------------------------
| Add metadata to each s3 file
| Metadata of S3 Files
|--------------------------------------------------------------------------
| Add metadata to each s3 file
|
| Add metadata to each S3 file
|
*/
'metadata' => [ ],

/*
|--------------------------------------------------------------------------
| Add expiry data to file
| Files Expiry Data
|--------------------------------------------------------------------------
| Add expiry data to file
|
| Add expiry data to file
|
*/
'expires' => gmdate("D, d M Y H:i:s T", strtotime("+5 years")),

/*
|--------------------------------------------------------------------------
| Add browser level cache
| Browser Level Cache
|--------------------------------------------------------------------------
| Add browser level cache
|
| Add browser level cache
|
*/
'cache-control' => 'max-age=2628000',

Expand Down

0 comments on commit d4f03bb

Please sign in to comment.