Re: Unexpected Cache-Control Header Transmission in Dual-Server API Setup

2023-06-30 Thread Uday Kumar
Okay Thanks 👍 On Sat, Jul 1, 2023, 00:42 Christopher Schultz wrote: > Uday, > > On 6/30/23 06:57, Uday Kumar wrote: > > *Hello,* > > > > *Observations:* > > *1. Issue not replicated through integrated tomcat of Spring-boot when > the > > application was started in IntelliJ IDE* > > *2. Issue was

Re: Unexpected Cache-Control Header Transmission in Dual-Server API Setup

2023-06-30 Thread Christopher Schultz
Uday, On 6/30/23 06:57, Uday Kumar wrote: *Hello,* *Observations:* *1. Issue not replicated through integrated tomcat of Spring-boot when the application was started in IntelliJ IDE* *2. Issue was replicated by installing Tomcat 9 on my local machine and building the corresponding war file.* *

Re: Unexpected Cache-Control Header Transmission in Dual-Server API Setup

2023-06-30 Thread Uday Kumar
*Hello,* *Observations:* *1. Issue not replicated through integrated tomcat of Spring-boot when the application was started in IntelliJ IDE* *2. Issue was replicated by installing Tomcat 9 on my local machine and building the corresponding war file.* *In both the above cases, I use the same code

Re: Unexpected Cache-Control Header Transmission in Dual-Server API Setup

2023-06-28 Thread Mark Thomas
On 28/06/2023 16:49, Uday Kumar wrote: Hello Mark, In continuation of my previous mail, *Just in a while, I could replicate the issue on my local machine by installing Tomcat 9 explicitly [Now, I could see cache-control headers are being transmitted to Varnish of server2]* *Point to note here,*

Re: Unexpected Cache-Control Header Transmission in Dual-Server API Setup

2023-06-28 Thread Uday Kumar
Hello Mark, In continuation of my previous mail, *Just in a while, I could replicate the issue on my local machine by installing Tomcat 9 explicitly [Now, I could see cache-control headers are being transmitted to Varnish of server2]* *Point to note here,* *Issue not replicated through integrated

Re: Unexpected Cache-Control Header Transmission in Dual-Server API Setup

2023-06-28 Thread Uday Kumar
*Hi Mark,* *You need to upgrade.* *Noted!* Will there be any default cache-control headers that are set (when they are not set explicitly by API-1) by Tomcat when issuing a request from Tomcat on Server1 to Varnish on Server2? *You need to look at whatever code is issuing the request from Tomca

Re: Unexpected Cache-Control Header Transmission in Dual-Server API Setup

2023-06-28 Thread Mark Thomas
On 28/06/2023 14:23, Uday Kumar wrote: Hello All, Our application operates on a dual-server setup, where each server is dedicated to running a distinct API. *Technical specifications:* Framework: Spring-boot v2.4 (Java 1.8) Runtime Environment: Tomcat Version: Apache Tomcat/7.0.42 Tomcat 7 re

Unexpected Cache-Control Header Transmission in Dual-Server API Setup

2023-06-28 Thread Uday Kumar
Hello All, Our application operates on a dual-server setup, where each server is dedicated to running a distinct API. *Technical specifications:* Framework: Spring-boot v2.4 (Java 1.8) Runtime Environment: Tomcat Version: Apache Tomcat/7.0.42 Server1 runs API-1 and Server2 runs API-2. Both server