1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-30 02:49:50 +02:00

One can now add a HTTP header for Cache-Control in the config file, #109.

This commit is contained in:
Mikael Roos
2015-10-21 01:12:10 +02:00
parent db5ce71926
commit ee9fdb8474
4 changed files with 53 additions and 2 deletions

View File

@@ -140,6 +140,16 @@ return array(
/**
* Add header for cache control when outputting images.
*
* Default value:
* cache_control: null, or set to string
*/
//'cache_control' => "max-age=86400",
/**
* The name representing a dummy image which is automatically created
* and stored at the defined path. The dummy image can then be used