Cache-busting JSON in PHP with filemtime
📰 Dev.to · Odilon HUGONNOT
How to force the browser to reload a JSON file after an update, without touching the server config or enabling mod_headers. One line of PHP is enough.
How to force the browser to reload a JSON file after an update, without touching the server config or enabling mod_headers. One line of PHP is enough.