-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customize the content that Janusec will cache #34
Comments
currently no customization for it, you can tick it off temporarily, I will check this function for json. |
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:
) func main() { The response will chage for each request. |
Hi, Its strange, in my case timestamp not updated. To workaround this, i have add ?t= per api request then data not cached :) |
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 !
The text was updated successfully, but these errors were encountered: