Hi,

On pages with ajax blocks, the caches are not rebuild. Probably because of has_js cookie?

Thanks.

Comments

gge created an issue. See original summary.

Vacilando’s picture

Category: Bug report » Support request
Status: Active » Postponed (maintainer needs more info)

Does the page in question get cached if you access it as an anonymous user via a browser?

  1. If not, then it may be a cookie or another issue outside of this module. Recacher won't cache a page that cannot be cached in the first place.
  2. If it does get cached, but Recacher won't cache it, please provide more details.
gge’s picture

Yes, when the page is accessed using the browser it gets cached correctly.
I think it has something to do with has_js cookie, because after installing Force JS (as mentioned here), Recacher can rebuild the caches even if the page contains authcache ajax blocks.

Vacilando’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

@gge, I think you successfully answered yourself. It seems that non-browser agents (such as curl, wget, or Googlebot, but also Recacher) will not see a cached version of Authcache ajax blocks unless the (evil!) has_js cookie is removed. The Force JS module works great for that (I use it myself on all sites as well).

gge’s picture

Thanks for your reply! It would be nice to have Force JS mentioned on Recacher's project page.

Vacilando’s picture

Status: Closed (works as designed) » Fixed

@gge: OK, done!

Status: Fixed » Closed (fixed)

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