summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/FreshRSS.php1
-rw-r--r--app/layout/layout.phtml13
2 files changed, 1 insertions, 13 deletions
diff --git a/app/FreshRSS.php b/app/FreshRSS.php
index 2bd5135a9..dec446a8e 100644
--- a/app/FreshRSS.php
+++ b/app/FreshRSS.php
@@ -90,7 +90,6 @@ class FreshRSS extends Minz_FrontController {
}
$filetime = @filemtime(PUBLIC_PATH . '/themes/' . $theme_id . '/' . $filename);
$url = '/themes/' . $theme_id . '/' . $filename . '?' . $filetime;
- header('Link: <' . Minz_Url::display($url, '', 'root') . '>;rel=preload', false); //HTTP2
Minz_View::prependStyle(Minz_Url::display($url));
}
}
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml
index 1f11e0af1..b244639a4 100644
--- a/app/layout/layout.phtml
+++ b/app/layout/layout.phtml
@@ -11,10 +11,6 @@
<?php echo self::headScript(); ?>
<link rel="shortcut icon" id="favicon" type="image/x-icon" sizes="16x16 64x64" href="<?php echo Minz_Url::display('/favicon.ico'); ?>" />
<link rel="icon msapplication-TileImage apple-touch-icon" type="image/png" sizes="256x256" href="<?php echo Minz_Url::display('/themes/icons/favicon-256.png'); ?>" />
- <link rel="prefetch" href="<?php echo FreshRSS_Themes::icon('starred', true); ?>" />
- <link rel="prefetch" href="<?php echo FreshRSS_Themes::icon('non-starred', true); ?>" />
- <link rel="prefetch" href="<?php echo FreshRSS_Themes::icon('read', true); ?>" />
- <link rel="prefetch" href="<?php echo FreshRSS_Themes::icon('unread', true); ?>" />
<link rel="apple-touch-icon" href="<?php echo Minz_Url::display('/themes/icons/apple-touch-icon.png'); ?>" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
@@ -32,14 +28,7 @@
<?php echo self::headTitle(); ?>
<?php
$url_base = Minz_Request::currentRequest();
- if (FreshRSS_Context::$next_id !== '') {
- $url_next = $url_base;
- $url_next['params']['next'] = FreshRSS_Context::$next_id;
- $url_next['params']['ajax'] = 1;
-?>
- <link id="prefetch" rel="next prefetch" href="<?php echo Minz_Url::display($url_next); ?>" />
-<?php
- } if (isset($this->rss_title)) {
+ if (isset($this->rss_title)) {
$url_rss = $url_base;
$url_rss['a'] = 'rss';
if (FreshRSS_Context::$user_conf->since_hours_posts_per_rss) {