Compression
About
HTTP compression is one of the important ways to improve the performance of a Backend Service that provides web services. When compression is performed in vServices created on the TR7 ASP device, requests from clients are compressed on the TR7 according to the specified file types and then sent to the Backend Services. This results in a reduction in the size of some files by up to 70% and a decrease in bandwidth capacity requirements. The most commonly used gzip and deflate compression algorithms are supported by TR7.
How to Add?
To add a new Compression Profile, navigate to the Traffic Manager > Profiles > Compression > Add tab from the TR7 ASP web interface.
Interface
Compression Profiles Listing Screen
By following the steps Traffic Manager > Profiles > Compression you can access the list of all Compression Profiles attached to the TR7 ASP device. On this screen, you can perform actions such as adding, editing, and deleting Compression Profiles.
- 1 (Information to be Displayed in the Table)
Select which information will be displayed in the table listing Compression Profiles.
The information that can be selected and defaults to being selected includes;
- Name
- Compression Algorithm
- File Types
- Compression Level
- 2 (Add)
Click the Add
button to open a form for creating a new Compression Profile.
- 3 (Delete)
Select one or more Compression Profiles and click the Delete
button to delete the respective Compression Profiles on the TR7 ASP device.
- 4 (Edit)
Click the Edit button to open the editing screen of the relevant Compression Profile.
- 5 (Search)
Used to search for all expressions in the table.
- 6 (RegExp Search)
Used to regexp search for all expressions in the table.
- 7 (Column Based Search)
Used to column based search for all expressions in the table.
- 8 (Usage Filter)
Used to filter which vServices all expressions in the table are used in.
- 9 (Page Information)
The information about how many Compression Profiles are in the open list and how many Compression Profiles are listed can be found here. When Compression Profiles are selected for deletion, the information of the selected Compression Profile is also displayed here.
- 10 (Page Size)
Select the maximum number of Compression Profiles to be listed in the open list. You can switch between pages using the arrow icons.-
- Preview of the Selected Profile
After following the steps Traffic Manager > Profiles > Compression clicking on any profile will open a window on the right side of the screen with information about the relevant profile.
This window also provides information about "Used In". For instance, the "Compression_1" vService compression profile is used in the "www.tr7.com" vService.
The preview can be closed by clicking the (x)
button at the top right of the opened window.
Interface
Compression Profile Adding Screen
By following the steps Traffic Manager > Profiles > Compression > Add a new Compression Profile is added to the TR7 ASP device.
- Name
Enter a name for the Compression Profile to be created.
- Compression Algorithm
Select the algorithm for compression.
Select "gzip" algorithm for compression.
Select "deflate" algorithm for compression.
- Compression Level
Select the level at which the compression process will be performed based on the chosen algorithm.
- Offloading
By default it is Disabled.
If compression is performed by the Backend Service when it is activated, this is disabled and the compression process is performed through the TR7 ASP device.
- Add
Click the Add
button to add the Compression Profile.
Interface
How to Add a Compression Profile to vServices?
Step > 1
First, follow the steps Settings Mode > vServices through the TR7 web interface.
Step > 2
On the screen, right-click on the vService to which the Compression Profile will be added and select Edit
or click on the relevant vService and follow the steps "Actions > Edit" from the window that opens on the right to reach the same window.
Step > 3
By selecting Details > Compression in the editing screen of the vService, Compression is activated. When first activated, the Default Compression Profile can be used.
Step > 4
To use a profile other than the Default Compression Profile or to add a new profile, click on the arrow next to the profile. Selection can be made from the attached profiles.
By clicking the Add
button, a new Compression Profile can also be added in the vService screen.
Step > 5
Click the Save
button to save the changes made, and wait for the vService to be reorganized.