Что делает Прагму HTTP-заголовка: средняя Общественность?

Что делает Прагму HTTP-заголовка: средняя Общественность?

74
задан user185631 17 December 2009 в 10:28
поделиться

1 ответ

According to the standard, Pragma is implementation dependent (section 14.32), except for no-cache because of its wide use. Cache-Control (section 14.9) is the proper way to control caching. This is what the standard says for a Cache-Control: public:

Indicates that the response MAY be cached by any cache, even if it would normally be non-cacheable or cacheable only within a non- shared cache.

42
ответ дан 24 November 2019 в 12:05
поделиться
Другие вопросы по тегам:

Похожие вопросы: