git.cweiske.de
/
phancap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
support concurrent requests with cutycapt
[phancap.git]
/
src
/
phancap
/
Config.php
diff --git
a/src/phancap/Config.php
b/src/phancap/Config.php
index 4d7c7a0f75f7e11272b5313eb97710757311b639..1bb43796dbc61a8db4ffff76fd2e00dd0da7904c 100644
(file)
--- a/
src/phancap/Config.php
+++ b/
src/phancap/Config.php
@@
-29,6
+29,16
@@
class Config
*/
public $access = true;
*/
public $access = true;
+ /**
+ * Redirect the browser to the cache URL.
+ * If disabled, the file is directly delivered.
+ *
+ * Helpful for debugging since it does not change the browser's URL.
+ *
+ * @var boolean
+ */
+ public $redirect = true;
+
/**
* How long requests with an old timestamp may be used.
* 2 days default.
/**
* How long requests with an old timestamp may be used.
* 2 days default.