Odd lack of server response
Posted: Wed Mar 09, 2011 2:26 pm
I am building a LAMP CMS application on a Dreamhost shared server account and encountered behavior I have never seen before. If we change content in the MYSQL database, then go to the webpage where those changes should manifest, they are not reflected unless we refresh the page.
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
If I add the metatag above, the problem is resolved, but I have never had to do this before and am wondering what it indicates.
I know that MySQL has an option for a query cache, but the manual states the following:
"The query cache does not return stale data. When tables are modified, any relevant entries in the query cache are flushed."
Thanks for any thoughts.
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
If I add the metatag above, the problem is resolved, but I have never had to do this before and am wondering what it indicates.
I know that MySQL has an option for a query cache, but the manual states the following:
"The query cache does not return stale data. When tables are modified, any relevant entries in the query cache are flushed."
Thanks for any thoughts.