Hello,
In javascript, CSS, the browser can cache files so that there are fewer trips to the browser. Might there be something analogous in PHP? In particular, to keep organized, I have every function that I need for my site in one script. Each script only calls a few functions and it seems a bit of a waste of resources to read through the entire script each time. So, is it possible to either:
- Create “Session Functions” that can be defined once and then used while a user is logged in
- Somehow Cache the functions
If neither works, then I can definitely break the functions script into smaller pieces, but I’d much prefer to leave things as is if possible.
Thank you,
Eric