-
what does this header do?
header(“Pragma: private, no-cache”);
header(“Cache-Control: private, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0”);
I did google it and if understood correctly, it does cache but enforce to check if something has been changed, right? or it just prevents any cache? Is it good to keep as it is, or is there any better way? I mean isn’t it old-fashioned now?
- On target server for RESTApi which one should be used?