I have a project in which I have a large array with locations having certain timezones.
I do not wish to use a database because that would mean too many database hits and writing Yet Another Caching Mechanism to prevent database hits.
So I made it into a php file with arrays. Currently it's 2.5mb on disc.
I could trim down the arrays to save on some info I don't need at this point in time but might in the future(geographic location, city names, altitude etc..)
Since I have opcache enabled, I am hoping that opcache will cache this very large file, saving the disc hits, keeping the data readily available.
can someone confirm opcache will also cache this large 2.5mb file? or give me a method to test/verify this file is cached?