diff options
| author | 2016-04-23 19:10:32 +0200 | |
|---|---|---|
| committer | 2016-04-23 19:10:32 +0200 | |
| commit | b042d3a7728037db90a9306c61091be0a8ac42c4 (patch) | |
| tree | 717691d185a83b603252a8e8de6fb4e5858c65a8 /lib/lib_rss.php | |
| parent | 4862652585da1d69d62914659011c53146b21c17 (diff) | |
HTTP2 optimization
Fast flush HTTP headers, push promise CSS.
Requires PHP 5.3+ due to anonymous function.
Do not load syles, scripts, and notifications for Ajax requests.
https://github.com/FreshRSS/FreshRSS/issues/1089
Diffstat (limited to 'lib/lib_rss.php')
| -rw-r--r-- | lib/lib_rss.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php index 135115ea5..f89baf9b1 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -548,3 +548,7 @@ function base64url_encode($data) { function base64url_decode($data) { return base64_decode(strtr($data, '-_', '+/')); } + +function _i($icon, $url_only = false) { + return FreshRSS_Themes::icon($icon, $url_only); +} |
