> I am just now implementing the memcache for my php > application .memcache is perfectly working for me .My requirement > is ,Before getting the data,weather data is changed that sql query or > not.If data is changed then i need to get the data from database else > i want to get data from cache.Is there any function/setting need to be > done in server ,If any one know about this give me some information .
The usual method is that whenever you update the database, you also invalidate or update the cache at the same time. Dean.
