< Home

display web-proxy cache web-resource

Function

The display web-proxy cache web-resource command displays cache information about a specified web resource on the virtual gateway.

Format

display web-proxy cache web-resource resource-name

Parameters

Parameter Description Value
resource-name Specifies the URL of the web resource to be displayed. The value is a string of 1 to 127 characters. Wildcard asterisk (*) is supported in the subdomain, generic top-level domain (gTLD), and country code top-level domain (ccTLD), for example, *.huawei.com, *.net, *.org, *.cn, and *.us.

Views

Function service view

Default Level

0: Visit level

Usage Guidelines

Only the USG6510E/6510E-POE/6530E does not support this command.
Web resources can be cached in the following modes:
  • Complete cache: caches the complete rewritten web pages to the virtual gateway. All elements except PDF files are cached in this mode.
  • Incremental cache: synchronizes only the changes on a web page to its cached copy on the virtual gateway. PDF files are cached in this mode.

Example

# Display web proxy cache information about web resource http://www.example.com.

<sysname> system-view
[sysname] v-gateway gateway
[sysname-gateway] service
[sysname-gateway-service] display web-proxy cache web-resource http://www.example.com
 
 Web-Proxy Cache Web-Resource Statistics Information:
 -------------------------------------------------------------------------------
 Web resource is no cached       : NO
 Web resource is incremental      : NO
 Web resource size(Bytes)        : 2013
 Web resource memory page number : 3
 Web resource access count       : 3
 Web resource last access time   : 2012/04/27 17:00:08
 -------------------------------------------------------------------------------
 -------End
Table 1 Description of the display web-proxy cache web-resource command output

Item

Description

Web resource is no cached

Whether the resource can be cached

Web resource is incremental

Whether the resource is incrementally cached

Web resource size(Bytes)

Memory size occupied by the web resource, in bytes

Web resource memory page number

Number of memory pages occupied by the web resource

Web resource access count

Number of times the web resource is accessed

Web resource last access time

Last access time of the web resource, in GMT format

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >