<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Cache-control и другие виды кеширования</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sat, 04 Apr 2026 21:21:14 -0000</pubDate>

		<item>
			<title>kriptograff</title>
			<description><![CDATA[<p>может кому и пригодится, в .htaccess дабавляем</p>

<p># Сжатие Text, Html, JavaScript, CSS, Xml:<br />
&lt;ifmodule mod_deflate.c&gt;<br />
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript<br />
&lt;/ifmodule&gt;<br />
 <br />
# Кеш браузера<br />
&lt;ifmodule mod_expires.c&gt;<br />
ExpiresActive On<br />
 <br />
# По умолчанию кеш в 5 секунд<br />
ExpiresDefault "access plus 1 days"<br />
 <br />
# Включаем кэширование изображений и Flash элементов на 1 месяц<br />
ExpiresByType image/x-icon "access plus 1 month"<br />
ExpiresByType image/jpeg "access plus 4 weeks"<br />
ExpiresByType image/png "access plus 30 days"<br />
ExpiresByType image/gif "access plus 43829 minutes"<br />
ExpiresByType application/x-shockwave-flash "access plus 2592000 seconds"<br />
 <br />
# Включаем кэширование CSS, JavaScript и текстовых файлов на 1 неделю<br />
ExpiresByType text/css "access plus 604800 seconds"<br />
ExpiresByType text/javascript "access plus 604800 seconds"<br />
ExpiresByType application/javascript "access plus 604800 seconds"<br />
ExpiresByType application/x-javascript "access plus 604800 seconds"<br />
 <br />
# Включаем кэширование Html и Htm файлов на 1 день<br />
ExpiresByType text/html "access plus 43200 seconds"<br />
 <br />
# Включаем кэширование Xml файлов на 10 минут<br />
ExpiresByType application/xhtml+xml "access plus 600 seconds"<br />
 <br />
# Нестандартные шрифты сайта<br />
ExpiresByType application/x-font-ttf "access plus 1 month"<br />
ExpiresByType font/opentype "access plus 1 month"<br />
ExpiresByType application/x-font-woff "access plus 1 month"<br />
ExpiresByType image/svg+xml "access plus 1 month"<br />
ExpiresByType application/vnd.ms-fontobject "access plus 1 month"<br />
 &lt;/ifmodule&gt;</p>

<p> </p>

<p> сразу +20 на <a href="https://developers.google.com/speed/pagespeed/insights/" rel="nofollow">PageSpeed Insights</a></p>
]]></description>
			<pubDate>Sat, 17 Sep 2016 06:50:44 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=7898&d=0#post42088]]></link>
		</item>
		<item>
			<title>CrazyFreeMan</title>
			<description><![CDATA[<p>То я пронюбасил :) Все что нужно я узнал :) Спасибо</p>
]]></description>
			<pubDate>Tue, 24 Feb 2015 20:06:20 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=7898&d=0#post40605]]></link>
		</item>
		<item>
			<title>Alex300</title>
			<description><![CDATA[<p>Установите на сервер Memcache или APC. В /datas/config.php включите кеширование - это включит дисковый кеш и DB-кеш. Укажите тамже драйвер кеша (Memcache или APC) чтобы включить и его.</p>

<blockquote>
<p>Cache-control хочу юзать - как?)</p>
</blockquote>

<p>А что это? И как именно Вы хотите это юзать?</p>
]]></description>
			<pubDate>Tue, 24 Feb 2015 00:01:57 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=7898&d=0#post40603]]></link>
		</item>
		<item>
			<title>CrazyFreeMan</title>
			<description><![CDATA[<p>Приветствую</p>

<p>Подскажите что есть и как добавить виды кеширования в Cotonti.</p>

<p>Вот у меня пишет</p>

<table class="table table-striped" style="border-spacing:0px;border-collapse:collapse;width:317px;margin-bottom:20px;color:rgb(60,60,60);font-family:'Open Sans', sans-serif;line-height:18.5714302062988px;"><tbody><tr style="background-color:rgb(249,249,249);"><td style="padding:8px;line-height:1.42857143;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221,221,221);">Cache</td>
			<td class="text-right lower" style="padding:8px;text-align:right;text-transform:lowercase;line-height:1.42857143;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221,221,221);">увімкнено</td>
		</tr><tr><td style="padding:8px;line-height:1.42857143;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221,221,221);">Cache driver</td>
			<td class="text-right" style="padding:8px;text-align:right;line-height:1.42857143;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221,221,221);">Не вказаний</td>
		</tr><tr style="background-color:rgb(249,249,249);"><td style="padding:8px;line-height:1.42857143;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221,221,221);">Template cache</td>
			<td class="text-right lower" style="padding:8px;text-align:right;text-transform:lowercase;line-height:1.42857143;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221,221,221);">увімкнено</td>
		</tr><tr><td style="padding:8px;line-height:1.42857143;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221,221,221);">HTML clean-up</td>
			<td class="text-right lower" style="padding:8px;text-align:right;text-transform:lowercase;line-height:1.42857143;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221,221,221);">вимкнено</td>
		</tr><tr style="background-color:rgb(249,249,249);"><td style="padding:8px;line-height:1.42857143;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221,221,221);">Homepage static cache</td>
			<td class="text-right lower" style="padding:8px;text-align:right;text-transform:lowercase;line-height:1.42857143;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221,221,221);">вимкнено</td>
		</tr><tr><td style="padding:8px;line-height:1.42857143;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221,221,221);">Pages static cache</td>
			<td class="text-right lower" style="padding:8px;text-align:right;text-transform:lowercase;line-height:1.42857143;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221,221,221);">вимкнено</td>
		</tr><tr style="background-color:rgb(249,249,249);"><td style="padding:8px;line-height:1.42857143;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221,221,221);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,221,221);">Forums static cache</td>
			<td class="text-right lower" style="padding:8px;text-align:right;text-transform:lowercase;line-height:1.42857143;vertical-align:top;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221,221,221);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(221,221,221);">вимкнено</td>
		</tr></tbody></table><p> </p>

<p>Где включать и настраивать параметры? Или это просто данные с настроек PHP?Cache-control хочу юзать - как?) что я не вижу</p>

<p>Спасибо</p>
]]></description>
			<pubDate>Mon, 23 Feb 2015 21:50:32 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=7898&d=0#post40602]]></link>
		</item>
	</channel>
</rss>