i have a webservice and a web interface for registered user. this section allow the user to get their statistics (similar to stack overflow)
- number of views
- number of answers
- number of post
- number of support ticket etc...
now this tool i have allow the user to retreive their data in a json format, my problem is the header sent is not working for all the browsers
i have:
header('Cache-Control: no-cache, must-revalidate');
header('Expires: Mon, 26 Jul 1997 00:00:00 GMT');
header('Content-type: text/json');
should i remove the expires and cache control?