mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-04 06:29:26 -05:00
Grosse amélioration des performances en utilisant le cache HTTP : - Implémentation de HTTP/1.1, c.a.d. If-Modified-Since, If-None-Match, If-Unmodified-Since, If-Match... avec la librairie http://alexandre.alapetite.fr/doc-alex/php-http-304/ - Support de HEAD (HTTP /1.0). - Préchargement de la page suivante (avec link next prefetch) dans le cas de pagination. - Et nouvelle possibilité de navigation pour les navigateurs qui supportent "next". - La date de dernier changement est pour l'instant primitive et correspond au dernier changement de la session PHP ou Configuration.array.php ou application.log ou touch.txt. - touch.txt est modifié a chaque requête UPDATE ou INSERT ou DELETE.
41 lines
1.2 KiB
PHTML
41 lines
1.2 KiB
PHTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="initial-scale=1.0">
|
|
<link rel="icon" type="image/x-icon" href="<?php echo Url::display ('/favicon.ico'); ?>" />
|
|
<link rel="icon" type="image/png" href="<?php echo Url::display ('/favicon.ico'); ?>" />
|
|
|
|
<?php echo self::headTitle (); ?>
|
|
<?php echo self::headStyle (); ?>
|
|
<?php echo self::headScript (); ?>
|
|
<script>//<![CDATA[
|
|
<?php $this->renderHelper ('../javascript/main'); ?>
|
|
//]]></script>
|
|
<?php
|
|
$next = isset($this->entryPaginator) ? $this->entryPaginator->next() : '';
|
|
if (!empty($next)) {
|
|
$params = Request::params ();
|
|
$params['next'] = $next;
|
|
?>
|
|
<link id="prefetch" rel="next prefetch" href="<?php echo Url::display (array ('c' => Request::controllerName (), 'a' => Request::actionName (), 'params' => $params)); ?>" />
|
|
<?php } ?>
|
|
</head>
|
|
<body>
|
|
<?php $this->partial ('header'); ?>
|
|
|
|
<div id="global">
|
|
<?php $this->render (); ?>
|
|
</div>
|
|
|
|
<?php $this->partial ('persona'); ?>
|
|
|
|
<?php if (isset ($this->notification)) { ?>
|
|
<div class="notification <?php echo $this->notification['type']; ?>">
|
|
<?php echo $this->notification['content']; ?>
|
|
<a class="close" href=""><i class="icon i_close"></i></a>
|
|
</div>
|
|
<?php } ?>
|
|
</body>
|
|
</html>
|