Apache-Talk mailing list archive (apache-talk@lists.lexa.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[apache-talk] 404 errors cache | yes or no?
Господа!
Подскажите пожалуйста, как правильней выдавать 404-ку в случае если
форум?
Вот так:
HTTP/1.1 404 Not Found
Date: Sun, 23 Mar 2003 18:19:28 GMT
Server: Apache/1.3.27 (Unix) PHP/4.3.0 mod_gzip/1.3.19.1a rus/PL30.16
X-Powered-By: PHP/4.3.0
Set-Cookie: session_id=91380e3c09f7aa90ae7d27d63ac84494; path=/
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=windows-1251
Vary: accept-charset, user-agent
Или вот так:
HTTP/1.1 404 Not Found
Date: Sun, 23 Mar 2003 18:19:28 GMT
Server: Apache/1.3.27 (Unix) PHP/4.3.0 mod_gzip/1.3.19.1a rus/PL30.16
X-Powered-By: PHP/4.3.0
Set-Cookie: session_id=91380e3c09f7aa90ae7d27d63ac84494; path=/
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=windows-1251
Vary: accept-charset, user-agent
Т.е. разрешать кешировать 404-ку или нет???
--
Артем
|