diff --git a/portal-ui/src/screens/Console/Configurations/utils.tsx b/portal-ui/src/screens/Console/Configurations/utils.tsx
index 991de6ed6..a1cfa298e 100644
--- a/portal-ui/src/screens/Console/Configurations/utils.tsx
+++ b/portal-ui/src/screens/Console/Configurations/utils.tsx
@@ -15,7 +15,6 @@
// along with this program. If not, see .
import React from "react";
import PublicIcon from "@mui/icons-material/Public";
-import SdStorageIcon from "@mui/icons-material/SdStorage";
import CompressIcon from "@mui/icons-material/Compress";
import CodeIcon from "@mui/icons-material/Code";
import LocalHospitalIcon from "@mui/icons-material/LocalHospital";
@@ -33,11 +32,6 @@ export const configurationElements: IElement[] = [
configuration_id: "region",
configuration_label: "Region",
},
- {
- icon: ,
- configuration_id: "cache",
- configuration_label: "Cache",
- },
{
icon: ,
configuration_id: "compression",
@@ -104,75 +98,6 @@ export const fieldsConfigurations: any = {
placeholder: "Enter custom notes if any",
},
],
- cache: [
- {
- name: "drives",
- required: true,
- label: "Drives",
- tooltip:
- 'Mountpoints e.g. "/optane1" or "/optane2", you can write one per field',
- type: "csv",
- placeholder: "Enter Mount Point",
- },
- {
- name: "expiry",
- required: false,
- label: "Expiry",
- tooltip: 'Cache expiry duration in days e.g. "90"',
- type: "number",
- placeholder: "Enter Number of Days",
- },
- {
- name: "quota",
- required: false,
- label: "Quota",
- tooltip: 'Limit cache drive usage in percentage e.g. "90"',
- type: "number",
- placeholder: "Enter in %",
- },
- {
- name: "exclude",
- required: false,
- label: "Exclude",
- tooltip:
- 'Wildcard exclusion patterns e.g. "bucket/*.tmp" or "*.exe", you can write one per field',
- type: "csv",
- placeholder: "Enter Wildcard Exclusion Patterns",
- },
- {
- name: "after",
- required: false,
- label: "After",
- tooltip: "Minimum number of access before caching an object",
- type: "number",
- placeholder: "Enter Number of Attempts",
- },
- {
- name: "watermark_low",
- required: false,
- label: "Watermark Low",
- tooltip: "Watermark Low",
- type: "number",
- placeholder: "Enter Watermark Low",
- },
- {
- name: "watermark_high",
- required: false,
- label: "Watermark High",
- tooltip: "Watermark High",
- type: "number",
- placeholder: "Enter Watermark High",
- },
- {
- name: "comment",
- required: false,
- label: "Comment",
- tooltip: "You can add a comment to this setting",
- type: "comment",
- multiline: true,
- placeholder: "Enter custom notes if any",
- },
- ],
compression: [
{
name: "extensions",
diff --git a/portal-ui/tests/permissions-2/settings.ts b/portal-ui/tests/permissions-2/settings.ts
index 9b417ca71..0fe44f4a5 100644
--- a/portal-ui/tests/permissions-2/settings.ts
+++ b/portal-ui/tests/permissions-2/settings.ts
@@ -38,7 +38,6 @@ test("Settings window exists in Settings page", async (t) => {
test("All vertical tab items exist", async (t) => {
const settingsRegionTabExists = elements.settingsRegionTab.exists;
- const settingsCacheTabExists = elements.settingsCacheTab.exists;
const settingsCompressionTabExists = elements.settingsCompressionTab.exists;
const settingsApiTabExists = elements.settingsApiTab.exists;
const settingsHealTabExists = elements.settingsHealTab.exists;
@@ -53,8 +52,6 @@ test("All vertical tab items exist", async (t) => {
.navigateTo("http://localhost:9090/settings/configurations")
.expect(settingsRegionTabExists)
.ok()
- .expect(settingsCacheTabExists)
- .ok()
.expect(settingsCompressionTabExists)
.ok()
.expect(settingsApiTabExists)
diff --git a/portal-ui/tests/utils/elements.ts b/portal-ui/tests/utils/elements.ts
index 1ff824c38..985500205 100644
--- a/portal-ui/tests/utils/elements.ts
+++ b/portal-ui/tests/utils/elements.ts
@@ -163,10 +163,6 @@ export const settingsRegionTab = Selector(".MuiTab-root").withAttribute(
"href",
"/settings/configurations/region"
);
-export const settingsCacheTab = Selector(".MuiTab-root").withAttribute(
- "href",
- "/settings/configurations/cache"
-);
export const settingsCompressionTab = Selector(".MuiTab-root").withAttribute(
"href",
"/settings/configurations/compression"