Hi,

I am experiencing a problem when - after clearing or expiring cache - the first user visits a page with an Authcached View.

In this case I ONCE get the error "Canceled: No client for fragment views/...". After reloading everything works fine (also on other pages and also for other users).

What can be done in this case? My problem is that I run my site on a shared hosting and often get Server Timeouts, if caching is not working properly...

Views is configured as follows:
----------
Authcache: True
Cache Lifetime: 1 Hour
Per User: True (Tried with false but did not solve the problem)
Enabled clients: Ajax
Fallback: Cancel caching

Thanx a lot!

Comments

znerol’s picture

Status: Active » Postponed

Because of #2194929: Debug message "No client for fragment" sometimes is not correct it is difficult to tell what the underlying reason for this message is. I suggest postponing this support request until I find a solution for the other issue.

weddigen’s picture

Ok! Looking forward to a solution...

znerol’s picture

Status: Postponed » Fixed

Other issue is fixed. Thus closing this.

michee.lengronne’s picture

Status: Fixed » Needs work

The ajax client relies on the 'has_js' cookie that is not set on the very first page hit by a browser. That makes the ajax client not available.

As the first hit is the most important one to acquire new visitors, it could be interesting to find a solution on that.

znerol’s picture

@michee.lengronne that's correct. I've published the Force JS module which is my preferred solution to deal with the problem.

michee.lengronne’s picture

Yes, it works better with the second option of that module. Thanks.

michee.lengronne’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.