文字

HttpResponse::getCache

(PECL pecl_http >= 0.10.0)

HttpResponse::getCacheGet cache

说明

static bool HttpResponse::getCache ( void )

Get current caching setting.

返回值

Returns TRUE if caching should be attempted, else FALSE .

参见

  • HttpResponse::setCacheControl() - Set cache control
  • HttpResponse::getCacheControl() - Get cache control
  • HttpResponse::setCache() - Set cache
上一篇: 下一篇: