Welcome Guest, Not a member yet? Register   Sign In
Dynamic javascript and CSS files - through code igniter
#2

[eluser]bwuk[/eluser]
Ok,

so I've now tried forcing headers in my javascript controller using:

Code:
header ('Cache-Control: private, pre-check=0, post-check=0, max-age=31536000');
header ('Expires: ' . gmstrftime("%a, %d %b %Y %H:%M:%S GMT", time()       +    31536000)); //60*3

but it appears as though CI is just ignoring these. Does anyone have any suggestions?


thanks

bwuk


Messages In This Thread
Dynamic javascript and CSS files - through code igniter - by El Forum - 01-28-2009, 06:51 AM
Dynamic javascript and CSS files - through code igniter - by El Forum - 01-28-2009, 12:31 PM
Dynamic javascript and CSS files - through code igniter - by El Forum - 01-30-2009, 05:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB