For example on each page I have the following code. Before code igniter I would just stick this in the header include file, but now I’m not sure where the “best” place to put this is. It should appear on every single page, but it seems wrong to stick it directly in the header_view. Should I create a helper or library?. Any help is appreciated, thanks.
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', FALSE);