is there a way to permanently cache a text file into memory (php)?

victoryellow

New Member
I am creating a site that allows users to search a static text file.The file is large static data txt file (10mb) that needed to be access/read every time a user searches (which is hopefully often).Is there a way/technique that loads the content of the file and stored it in memory (and assigned a variable to it) permanently so that it would speed up the process?
 
Back
Top