CodeIgniter Forums
cachePage and secureheaders - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: cachePage and secureheaders (/showthread.php?tid=82508)



cachePage and secureheaders - InstantT - 07-18-2022

Hello all,

I would like to know if it is normal, when we use "$this->cachePage(xx);" in a controller, that the http headers of "secureheaders" are not present anymore?

http headers that disappear with the cache :

PHP Code:
x-content-type-optionsnosniff
x
-download-optionsnoopen
x
-frame-optionsSAMEORIGIN
x
-permitted-cross-domain-policiesnone 


Regards


RE: cachePage and secureheaders - kenjis - 07-19-2022

I've confirm this behavior.
It seems a bug.


RE: cachePage and secureheaders - InstantT - 07-19-2022

Thank you @kenjis

I have opened an issue on Github