Open Anthony-vhost opened 2 years ago
currently no customization for it, you can tick it off temporarily, I will check this function for json. Would you mind paste the request URL (such as /aaa/bbb.php , without the domain name) ?
Hi,
I have the same problem with hxxps://domainname/server-healthcheck-api
Data return is json format look like and doesn't change after refresh.
{"data":{"cpu":5.1213145267,"memory":211955712,"ctime":5891.15,"elapsed":264416370,"timestamp":1644671004063,"pid":1,"ppid":0}}
Thanks !
Hi,
I have the same problem with hxxps://domainname/server-healthcheck-api
Data return is json format look like and doesn't change after refresh.
{"data":{"cpu":5.1213145267,"memory":211955712,"ctime":5891.15,"elapsed":264416370,"timestamp":1644671004063,"pid":1,"ppid":0}}
Thanks !
I create a test web used for the backend server, and enable cache for it, code is here: `package main import ( "fmt" "strconv" "time"
"github.com/gin-gonic/gin"
)
func main() { fmt.Println("Hello, This is a web test.") r := gin.Default() r.GET("/server-healthcheck-api", func(c *gin.Context) { c.JSON(200, gin.H{ "message": "pong: " + strconv.FormatInt(time.Now().Unix(), 10), }) }) r.Run(":8085") }`
The response will chage for each request.
Hi,
Its strange, in my case timestamp not updated.
To workaround this, i have add ?t=
Hi,
We see that all static files will be cached including application/json make the returned data unchanged (timestamp), is there any way we can customize the content-type that Janusec cached?
Thanks and Regards !