PDA

View Full Version : Cache external sql


Robert9
01-27-2006, 04:05 PM
Hi all,
i have the following problem:

Every time someone calls showthread.php i have an additional query with a plugin like: select adress where thread.adress-id = bla

This means that every single show of showthread.php asks my mysql. The same vb caches his own data it should be possible to cache either the data from the query or some html-code i produce with this queries. Unfortunately i have no clue how to handle things with cache.

May someone know where i can find some examples how to work with this?

Marco van Herwaarden
01-27-2006, 05:50 PM
Is this address different for each thread? If yes, 1 query per thread is what you need. vB also don't cache the thread data.