Everyone can have benefit because this issue can become a serious performance problem if you have many items in your calendar.
The following URL is used by mobile calendar subscribers by download the generated ICS file. This file can become huge.
It appears that the resulting file contains all activities from the past and the future and is almost 6mb in size(!)
Since we have many mobile users (with a slow mobile connection) who are subscribed to our calendar, this caused serious problems and other websites on the same server became unreachable.
I found a temporary solution in the following file:
I have adjusted these values to make the file smaller.
$filter = apply_filters ('ai1ec_export_filter', $ filter);
$start = $ this -> _ registry-> get ('date.time', '-3 years');
$end = $ this -> _ registry-> get ('date.time', '+3 years');
$search = $ this -> _ registry-> get ('model.search');
Another setting that should actually be arranged via the user interface is the following file:
$e-> setProperty (
$ this -> _ sanitize_value ($ html_content),
'FMTTYPE' => 'text / html',
To halve the file size of the file to be generated, I have set out the HTML content to adjust rule 962:
$ this -> _ sanitize_value (/ * $ html_content * / '’),
It would be nice if both becomes a setting in the user interface so that it does not have to be changed each time after an update.