But this solution is ugly and very unproffesional.
Do you have any better idea?
How to stop php/apache from buffering/caching mysql query results?
Thanks for any hints
Query caching is a MySQL-level setting; PHP and Apache have nothing to
do with it.
You have two options. One is to stop query caching entirely by
setting query_cache_type = 0 or query_cache_type = OFF in MySQL's
If you have no access to MySQL's configuration file, you can add a
SQL_NO_CACHE clause to your queries to request that MySQL run the
query rather than return a cached result:
SELECT SQL_NO_CACHE * FROM myTable;
See MySQL documentation:
Thanks, this helps!