Varnish cache issues!!!

Status
Not open for further replies.

ignitio5

New Member
Messages
11
Reaction score
0
Points
1
I put this in my .htaccess file:

Code:
Header set Cache-Control "max-age=0, private, no-cache, no-store, must-revalidate"

Now sometimes when I go to my site: http://entertainmentjoy.com

Nothing loads. No stylesheet, nothing..just a white page with links and the header image I uploaded.

Someone on the mybb forums said Varnish appears to still be active on my site. What the heck is causing this issue?!
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
Someone on the mybb forums said Varnish appears to still be active on my site
looking at the response header after loading your landing page - I 'see'...
Code:
Accept-Ranges bytes
Age 0
Cache-Control max-age=0, private, no-cache, no-store, must-revalidate
Connection keep-alive
Content-Encoding gzip
Content-Length 5046
Content-Type text/html; charset=UTF-8
Date Sun, 01 Jan 2017 22:41:14 GMT
Set-Cookie mybb[lastactive]=1483310474; expires=Mon, 01-Jan-2018 22:41:14 GMT; path=/; domain=.entertainmentjoy.com
Set-Cookie mybb[lastvisit]=1483292813; expires=Mon, 01-Jan-2018 22:41:14 GMT; path=/; domain=.entertainmentjoy.com
Vary Accept-Encoding
X-Cache MISS
X-Varnish 469632680

that [ X-Cache MISS ] says it is off
 

ignitio5

New Member
Messages
11
Reaction score
0
Points
1
Thank you! What could be the cause of that issue then? Someone on mybb support forum said it's not on my side (he went into my account)

He said it looked like failed requests to the server. Is this common?
 

ignitio5

New Member
Messages
11
Reaction score
0
Points
1
Not sure where to go to activate it..not seeing that stuff anywhere after I login.
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
how would I view the errors?
a error log file - named [ error_log ] - will appear in the same folder that the executed PHP script that throws the error is in

BUT
it might be something in one or more [ .htaccess ] files - which is a server error - not a PHP error
 
Status
Not open for further replies.
Top