How to better store arrays of data for use in a JavaScript app
<p>I have an interactive JavaScript app that runs through arrays of data. I don't want users to be able to easily view the array content, so I have stored the arrays in PHP and pass them to the JavaScript app with AJAX and JSON. I had thought about using a database, but since these files only have to read (not written) I thought it would be unnecessary.  </p>

<p>Am I missing an obvious and easier way to do this? Perhaps some sort of server-side cache?</p>

<p>Cheers,</p>
