|
Posted by lister on 03/27/07 18:17
Hi all,
I have a fairly diverse range of data that I want to cache in the
session rather than pulling it from the database on every page
refresh.
The problem is is that it seems that PHP requires the class
definitions available on EVERY page, as it unserialises everything
even if it's not going to be used.
This has put me in the worrying situation of having to "require"
pretty much every class definition in my project on every page, and
I'm concerned about the performance impact this is going to have due
to PHP having to parse reams of code every time.
Are there any elegant ways around this? Am I worrying over nothing?
Cheers,
Lister
Navigation:
[Reply to this message]
|