title: is there a way to permanently cache a text file into memory (php)?
body: <p>I am creating a site that allows users to search a static text file.</p>
  
  <p>The file is large static data txt file (10mb) that needed to be access/read every time a user searches (which is hopefully often).</p>
  
  <p>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?</p>