Welcome Guest, Not a member yet? Register   Sign In
cache & proxy
#1

[eluser]ReGeDa[/eluser]
I get all updated pages when I work with my site at home without proxy. At office (with proxy) all pages are cache. Any change don't perform (session pages are not updating, start page also). But after pressing F5 all is nice, but other browser show current page :-S
is it headers problem or proxy or I?
please help me
#2

[eluser]hvalente13[/eluser]
[quote author="ReGeDa" date="1216224357"]
is it headers problem or proxy or I?
[/quote]

Hi ReGeDa,

Have you tried headers?

Code:
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");

or

Code:
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">

Good luck
#3

[eluser]ReGeDa[/eluser]
Code:
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="private" />
<meta http-equiv="Pragma" content="no-cache" />
#4

[eluser]hvalente13[/eluser]
That doesn't work?

I normally use php code... I guess it's more efficient.

Try to look at this and see if there's any solution for your problem...

http://www.mnot.net/cache_docs/
#5

[eluser]pickledegg2[/eluser]
Theres also robots.txt...
#6

[eluser]Pascal Kriete[/eluser]
Deja vu anyone?
#7

[eluser]ReGeDa[/eluser]
It's solved. I'm happy. Smile
I replace CI_Session library by my session class with native PHP sessions behavior. :coolsmirk:
It's works.




Theme © iAndrew 2016 - Forum software by © MyBB