1import{j as e,L as o,S as d,Z as n,B as l,l as h,d as s,f as i,c as x,n as m}from"./index-5Kt7Qh8J.js";import{A as u,a as t,b as r,c as a}from"./accordion-Dhuw4CL5.js";import"./chevron-down-Clp-7gc2.js";function p(){return e.jsxs(o,{children:[e.jsx(d,{title:"Varnish & Redis Magento 2 Hosting",description:"Accelerate your Magento 2 store with pre-configured Varnish Full Page Cache and Redis backend. Experience sub-50ms TTFB and rock-solid stability.",canonical:"https://everyhost.co.uk/varnish-redis-magento/"}),e.jsxs("section",{className:"pt-32 pb-24 bg-brand-dark relative overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-blue-900/10 pointer-events-none"}),e.jsxs("div",{className:"container mx-auto px-4 relative z-10 text-center",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-blue-500/10 text-blue-400 border border-blue-500/20 text-sm font-medium mb-6",children:[e.jsx(n,{className:"h-4 w-4"}),e.jsx("span",{children:"High Performance Stack"})]}),e.jsxs("h1",{className:"text-4xl md:text-6xl font-display font-bold mb-6 text-white leading-tight",children:["Varnish & Redis for ",e.jsx("br",{}),e.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-400 to-indigo-500",children:"Magento 2 Speed"})]}),e.jsx("p",{className:"text-xl text-muted-foreground mb-8 max-w-2xl mx-auto",children:"Stop losing customers to slow load times. Our Nginx + Varnish + Redis stack delivers instant page loads and rock-solid checkout performance."}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[e.jsx(l,{asChild:!0,size:"lg",className:"bg-primary hover:bg-primary/90 text-white h-12 px-8",children:e.jsx("a",{href:h.orderLinks.magentoHosting,children:"Get Started"})}),e.jsx(s,{href:"/magento-2-prerequisites",children:e.jsx(l,{size:"lg",variant:"outline",className:"border-white/20 hover:bg-white/10 h-12 px-8",children:"View Prerequisites"})})]})]})]}),e.jsx("section",{className:"py-24",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"grid md:grid-cols-2 gap-16 items-center mb-24",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-3xl font-bold mb-6",children:"Why Varnish & Redis?"}),e.jsx("p",{className:"text-muted-foreground mb-6 text-lg",children:"Magento 2 is a heavy application. Without proper caching, every page load triggers complex database queries and PHP execution. This kills performance."}),e.jsx("p",{className:"text-muted-foreground mb-6 text-lg",children:"We implement a multi-layer caching strategy:"}),e.jsxs("ul",{className:"space-y-4",children:[e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx(i,{className:"h-6 w-6 text-green-400 shrink-0"}),e.jsxs("div",{children:[e.jsx("strong",{className:"block text-white",children:"Varnish Full Page Cache (FPC)"}),e.jsx("span",{className:"text-muted-foreground text-sm",children:"Serves static HTML instantly, bypassing PHP entirely for 95% of traffic."})]})]}),e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx(i,{className:"h-6 w-6 text-green-400 shrink-0"}),e.jsxs("div",{children:[e.jsx("strong",{className:"block text-white",children:"Redis for Sessions & Backend"}),e.jsx("span",{className:"text-muted-foreground text-sm",children:"Replaces slow file-based storage for fast session retrieval and configuration caching."})]})]}),e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx(i,{className:"h-6 w-6 text-green-400 shrink-0"}),e.jsxs("div",{children:[e.jsx("strong",{className:"block text-white",children:"OpenSearch Integration"}),e.jsx("span",{className:"text-muted-foreground text-sm",children:"Lightning-fast catalog search results, even with millions of SKUs."})]})]})]})]}),e.jsxs("div",{className:"bg-white/5 border border-white/10 rounded-2xl p-8",children:[e.jsxs("h3",{className:"text-xl font-bold mb-6 flex items-center gap-2",children:[e.jsx(g,{className:"text-blue-400"})," Performance Impact"]}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex justify-between mb-2 text-sm",children:[e.jsx("span",{children:"TTFB (Time to First Byte)"}
1),e.jsx("span",{className:"text-green-400",children:"< 50ms"})]}),e.jsx("div",{className:"h-2 bg-white/10 rounded-full overflow-hidden",children:e.jsx("div",{className:"h-full bg-green-500 w-[95%]"})})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex justify-between mb-2 text-sm",children:[e.jsx("span",{children:"Catalog Search Speed"}),e.jsx("span",{className:"text-green-400",children:"Instant"})]}),e.jsx("div",{className:"h-2 bg-white/10 rounded-full overflow-hidden",children:e.jsx("div",{className:"h-full bg-blue-500 w-[90%]"})})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex justify-between mb-2 text-sm",children:[e.jsx("span",{children:"Checkout Stability"}),e.jsx("span",{className:"text-green-400",children:"100%"})]}),e.jsx("div",{className:"h-2 bg-white/10 rounded-full overflow-hidden",children:e.jsx("div",{className:"h-full bg-purple-500 w-[100%]"})})]})]})]})]})})}),e.jsx("section",{className:"py-24 bg-white/5 border-y border-white/10",children:e.jsxs("div",{className:"container mx-auto px-4",children:[e.jsx("h2",{className:"text-3xl font-bold mb-12 text-center",children:"Complete Magento Ecosystem"}),e.jsxs("div",{className:"grid md:grid-cols-3 gap-8",children:[e.jsx(s,{href:"/magento-hosting",children:e.jsxs("a",{className:"block p-6 rounded-xl bg-background border border-white/10 hover:border-blue-500/50 transition-all",children:[e.jsx(x,{className:"h-8 w-8 text-blue-400 mb-4"}),e.jsx("h3",{className:"font-bold text-lg mb-2",children:"Managed Hosting"}),e.jsx("p",{className:"text-muted-foreground text-sm",children:"The perfect foundation for your Varnish/Redis stack."})]})}),e.jsx(s,{href:"/sentinel",children:e.jsxs("a",{className:"block p-6 rounded-xl bg-background border border-white/10 hover:border-blue-500/50 transition-all",children:[e.jsx(m,{className:"h-8 w-8 text-blue-400 mb-4"}),e.jsx("h3",{className:"font-bold text-lg mb-2",children:"Sentinel Security"}),e.jsx("p",{className:"text-muted-foreground text-sm",children:"Protect your cache and backend from abuse."})]})}),e.jsx(s,{href:"/dedicated-magento-hosting-uk",children:e.jsxs("a",{className:"block p-6 rounded-xl bg-background border border-white/10 hover:border-blue-500/50 transition-all",children:[e.jsx(n,{className:"h-8 w-8 text-blue-400 mb-4"}),e.jsx("h3",{className:"font-bold text-lg mb-2",children:"Dedicated Servers"}),e.jsx("p",{className:"text-muted-foreground text-sm",children:"Isolated resources for maximum cache performance."})]})})]})]})}),e.jsx("section",{className:"py-24",children:e.jsxs("div",{className:"container mx-auto px-4 max-w-3xl",children:[e.jsx("h2",{className:"text-3xl font-bold mb-12 text-center",children:"Frequently Asked Questions"}),e.jsxs(u,{type:"single",collapsible:!0,children:[e.jsxs(t,{value:"item-1",children:[e.jsx(r,{children:"Do I need to configure Varnish myself?"}),e.jsx(a,{forceMount:!0,children:"No. We pre-configure Varnish with the official Magento 2 VCL (Varnish Configuration Language) and optimize it for your specific store."})]}),e.jsxs(t,{value:"item-2",children:[e.jsx(r,{children:"How does Redis help Magento?"}),e.jsx(a,{forceMount:!0,children:"Redis stores session data and backend cache in memory rather than on disk. This significantly reduces I/O wait times and speeds up admin operations and cart interactions."})]}),e.jsxs(t,{value:"item-3",children:[e.jsx(r,{children:"Can I flush the cache myself?"}),e.jsx(a,{forceMount:!0,children:"Yes. You can flush Magento cache types, Varnish, and Redis directly from the Magento Admin Panel or via the CLI (bin/magento cache:flush)."})]}),e.jsxs(t,{value:"item-4",children:[e.jsx(r,{children:"Is SSL supported with Varnish?"}),e.jsx(a,{forceMount:!0,children:"Yes. We use Nginx as an SSL termination proxy in front of Varnish, ensuring your site is fully secure (HTTPS) while still benefiting from Varnish caching."})]})]})]})})]})}function g(c){return e.jsx("svg",{...c,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:e.jsx("path",{d:"M22 12h-4l-3 9L9 3l-3 9H2"})})}export{p as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.