Skip to content

How to Perform HTTP Caching Dynamic or Static?

About

What is L7 Caching?

HTTP Caching is the process of responding to requests from the client in the cache without going to the server. Since the incoming request is not forwarded to the backend server, the response time increases significantly. It also prevents excessive load on the servers. In the vServices created on the TR7 ASP device, caching can be done both statically and dynamically, and the desired file types can be cached according to the created Cache Profile. Features such as Maximum Object Sizes to be Cache, File Types to be Cache, Timeout Values ​​can be configured.

Interface

Cache

Step > 1

"Traffic Manager > Profiles > Cache > Add" steps are followed. On the screen that opens, information such as Cached (HIT) Header Name, Maximum Object Size, Cache Timeout, Caching Rules can be configured.

In cases where Dynamic Caching is desired, Dynamic Caching can be activated and the desired information can be selected. The information that can be selected is given below.

Connection Info

  • Client IP Address
  • Client Port Number
  • Destination IP Address
  • Destination Port Number
  • Backend Service IP Address

Time Info

  • Second
  • Minute
  • Hour
  • Day of Month
  • Day of Week
  • Month
  • Year
  • Date Format

Request Info

  • Path/Page of the Request [URI]
  • Path + Query of the Request
  • Request Query
  • Frontend HTTP Version
  • HTTP Method
  • URL
  • Query Parameter

Stats

  • Request Size

HTTP Header Info

  • Request HTTP Header Content
  • Request Cookie Content

Body Info

  • Request Body
  • Request Form Parameter
  • Request Payload

WAF

  • WAF Attack Detail
  • WAF Attack State
  • WAF Blocking State
  • WAF Score

Client Info

  • Client Country
  • Client Browser Name
  • Mobile Platform
  • Bot Type
  • ASN

SSL Info

Others

  • Random Number
  • Manuel Request Variable

By clicking the Add button, the relevant Cache Profile is created.

Step > 2

"vServices > Related vService" is selected and the editing screen opens. From the Details tab, Cache is activated and the created Cache profile is selected.

The changes made for the vService are saved by clicking the Save button.