I was observirng some strange behaviour of my app sometime caching responses and sometime not cacheingcaching them (all the responses have Cache-Control: max-age=600).
I was observirng some strange behaviour of my app sometime caching responses and sometime not cacheing them (all the responses have Cache-Control: max-age=600).
I was observirng some strange behaviour of my app sometime caching responses and sometime not caching them (all the responses have Cache-Control: max-age=600).
This is the response I get from the PHP page:
HTTP/1.1 200 OK Date: Thu, 28 Nov 2013 11:41:55 GMT Server: Apache X-Powered-By: PHP/5.3.17 Cache-Control: max-age=600 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: application/json { "result": { "employeeId": "", "dateTime": "2013-11-28 11:41:55'" } } Then I've created a simple app and added AFNetworking library.
http://www.novaware.co.uk/t.php?eId=1&organizationId=4011&organizationId2=4012&organizationId3=4013&org=4http://www.mydomain.co.uk/t.php?eId=1&organizationId=4011&organizationId2=4012&organizationId3=4013&org=4
Then I've created a simple app and added AFNetworking library.
This is the response I get from the PHP page:
HTTP/1.1 200 OK Date: Thu, 28 Nov 2013 11:41:55 GMT Server: Apache X-Powered-By: PHP/5.3.17 Cache-Control: max-age=600 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: application/json { "result": { "employeeId": "", "dateTime": "2013-11-28 11:41:55'" } } Then I've created a simple app and added AFNetworking library.
I've also tried to establish how many characters in the URL will trigger the problem but even in this case I've got strange results:
This one is 112 characters long and it doesn't work:
This one is 111 characters long and it works:
Ive renamed the PHP script to see if the first part of the URL would matter and I've got a strange behaviour again:
This one is 106 characters long and it doesn't work:
This one is 105 characters long and it works:
So I've removed 3 characters from the page name and I've got a working threshold 6 characters lower.
Any suggestion?
Any suggestion?
I've also tried to establish how many characters in the URL will trigger the problem but even in this case I've got strange results:
This one is 112 characters long and it doesn't work:
This one is 111 characters long and it works:
Ive renamed the PHP script to see if the first part of the URL would matter and I've got a strange behaviour again:
This one is 106 characters long and it doesn't work:
This one is 105 characters long and it works:
So I've removed 3 characters from the page name and I've got a working threshold 6 characters lower.
Any suggestion?