mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-06 16:16:48 +01:00
Applied patch for preview caching (closes #1484186)
This commit is contained in:
@@ -23,8 +23,11 @@ require_once('Mail/mimeDecode.php');
|
||||
|
||||
$PRINT_MODE = $_action=='print' ? TRUE : FALSE;
|
||||
|
||||
// allow this request to be cached
|
||||
send_future_expire_header();
|
||||
// allow caching, unless remote images are present
|
||||
if ((bool)get_input_value('_safe', RCUBE_INPUT_GET))
|
||||
send_nocacheing_headers();
|
||||
else
|
||||
send_future_expire_header();
|
||||
|
||||
// similar code as in program/steps/mail/get.inc
|
||||
if ($_GET['_uid'])
|
||||
|
||||
Reference in New Issue
Block a user