Hello every!
I have a problem probably caused by caching. I have a mysql table and two php pages:
1: List of rows in the table and a small form for submitting another row
2: Confirmation that the row has been submitted and link back to page 1
Now when I submit a new row (=> go to page 2) and click on the link back to page 1, the new row appears in the list UNLESS I do this more than twice in one minute. In this case the newly submitted rows don't appear in the list on page 1. In other words: The list is only updated once per minute.
I have pragma no-cache, expires="Sat, 1 Jan 2000 08:00:00 GMT" and cache-control="no-cache" in my headers, force-reloading doesn't help. In the console, I can run a select * from table and I see the new row is there, while I keep force-reloading in the firefox window and getting the list of rows without the new row.
A tail -f access.log tells me that the request is being sent to apache every time I force-reload, and I get a status code 200.
reset query cache; in the mysql console doesn't help either. All I can do is wait one minute, and then I get the updated list of rows.
By the way, I grepped for "cache" in all apache config files, not a single hit.
Any ideas what can be causing this weird behavior? I'm really at the end of my wits...
Thanks a lot in advance,
-grayFalcon