I have set up a Python WSGI script that queries a MySQL database. This works correctly the first time. However, after I update the MySQL data, the script returns the old data instead of the new, and I'm not sure why. My Apache configuration doesn't have caching enabled and neither does the MySQL database. If I run the python file directly I get the new MySQL data. If i restart Apache then i also get the new MySQL data. I think I'm missing something simple. Any tips?
NOTIFY/LISTEN
statementsi believe for MySQL there was a UDF (User-Defined Function) that simulated that..