I do not see - even when assigned to a region - any of boost block, even as superadmin. Any clue about this?

Thanks.

Comments

sillygwailo’s picture

Where do you expect to see them? They should only show to authenticated users with the right permissions (never to anonymous), and only on pages that are cacheable, so definitely not on administration pages.

#857384: Can't access boost status block might be related, and there's a fix for that in the developmental version.

eme’s picture

Of course I did not expect to see these blocks elsewhere than on a cachable page. But the issue is that I do not see them even when authenticated... Strange thing is that when I copy the PHP code in a page it works fine (?).

Thanks for the tip : I tried to add the "break;" lines where expected, but nothing happened.

mattwmc’s picture

Yeah, no blocks are showing for me either. Not sure why.

yan’s picture

Same problem here - or even weirder: The blocks have shown before and do appear sometimes. But I have no clue what makes them appear or not. Any ideas where could lie the problem?

yan’s picture

Version: 6.x-1.18 » 6.x-1.21

Forgot to update the module version.

Anonymous’s picture

Just a basic question, you have been to admin > structure > block (on drupal 7 can't remember 6) and made sure that you are displaying the block

Boost: Pages cache status

On your site somewhere ? (caught me out the first time).

yan’s picture

Yes, the block is activated and set to appear in the right sidebar of my theme. I also tried another region.

But just now, I think I found the problem: I disabled static page caching for SSL because I have a self-signed certificate that leads to error messages for users:
#1466480: Caches URLs as HTTPS leads to issues when accessing by HTTP

It seems that the block only appears when I'm logged in and I access the page through http, not https. That's really weird.

The block "Boost: AJAX core statistics" still doesn't appear (in the HTML source code of) cached pages.

Anonymous’s picture

Assigned: Unassigned »

Ah, yes by default boost does not do https in case it caches "private" information although really it should not affect the block display which could display at all times and possibly needs review (I'll assign myself) but is there another issue here ? Boost caches for anon users only, so "the block" is rather odd as although it displays the cache information, the person viewing it is logged in and therefore not seeing a cached version of the page.

yan’s picture

Thanks Philip_Clarke. Another problem for me is the "Boost: AJAX core statistics" block. It's supposed to appear on cached pages (for anonymous users) to allow the use of core statistics. But it my case it doesn't seem to appear.

Anonymous’s picture

And that is through the (CORRECTION) non-SSL site ? and your anon users have the correct permissions to see the block. (just checking).

yan’s picture

Priority: Minor » Normal
Status: Postponed » Active

Good one! I must have set the permissions before, when I didn't actually know what the block was for. Thanks a lot for the hint, that was it!

Anonymous’s picture

Priority: Normal » Minor
Status: Active » Postponed

So what we have left open is boost block does not show in SSL and that is all we need to consider whether it's an appropriate idea, since boost doesn't actually work in SSL :-)

I think that may go low down on the list. Moved to postponed and minor.

yan’s picture

Boost doesn't work in SSL? Why is that? I thought it was possible and actually I already used it with SSL. Additionally, is it much work to delete the setting that prevents the block from showing on https pages? At least I don't see the point of it. ;)

Anonymous’s picture

if from the .htaccess generation

  RewriteCond %{HTTPS} on [OR]

you have the line above, then you are not caching ssl requests which is a default (in 7x) the theory being that you really don't want to cache username's or passwords in comment forms or shopping sites. (Though I am not the original author and that's an educated guess).

yan’s picture

Priority: Normal » Minor
Status: Active » Postponed
yan’s picture

Issue summary: View changes

Raising this again: If Boost is configured to not cache pages accessed through https, Boost blocks do not appear on pages accessed through https. For example:

http://example.com/node/1 ← Blocks appear
https://example.com/node/1 ← Blocks do not appear

But as it's the same page just accessed through different protocols, I think the Blocks should appear in both cases, although the page is just cached in one of them. I just had a look at the module's code but I wasn't able to find what prevents the blocks from showing.