Veridis
New Member
- Messages
- 16
- Reaction score
- 0
- Points
- 0
I have a skill calculator written in php for an online RPG I play, it gets given variables via get then makes calculations based on the input and outputs it to the user in tables.
How do I cache the results so that if more than one person inputs in the same info it will not need to run more than once. Does it make sense for me to cache it this way, as most data will be unique.
How do I cache the compiled php code?
Would I use apache, php or something else to do the caching?
I have looked at several websites that talk about caching but can't seem to make heads or tails of it all.
The URL for the script for those that are interested is: http://fay.exofire.net/syrnia/smithingcalc.php
How do I cache the results so that if more than one person inputs in the same info it will not need to run more than once. Does it make sense for me to cache it this way, as most data will be unique.
How do I cache the compiled php code?
Would I use apache, php or something else to do the caching?
I have looked at several websites that talk about caching but can't seem to make heads or tails of it all.
The URL for the script for those that are interested is: http://fay.exofire.net/syrnia/smithingcalc.php