Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I do not see - even when assigned to a region - any of boost block, even as superadmin. Any clue about this?
Thanks.
Comments
Comment #1
sillygwailoWhere 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.
Comment #2
eme CreditAttribution: eme commentedOf 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.
Comment #3
mattwmc CreditAttribution: mattwmc commentedYeah, no blocks are showing for me either. Not sure why.
Comment #4
yan CreditAttribution: yan commentedSame 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?
Comment #5
yan CreditAttribution: yan commentedForgot to update the module version.
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commentedJust 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).
Comment #7
yan CreditAttribution: yan commentedYes, 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.
Comment #8
Anonymous (not verified) CreditAttribution: Anonymous commentedAh, 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.
Comment #9
yan CreditAttribution: yan commentedThanks 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.
Comment #10
Anonymous (not verified) CreditAttribution: Anonymous commentedAnd that is through the (CORRECTION) non-SSL site ? and your anon users have the correct permissions to see the block. (just checking).
Comment #11
yan CreditAttribution: yan commentedGood 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!
Comment #12
Anonymous (not verified) CreditAttribution: Anonymous commentedSo 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.
Comment #13
yan CreditAttribution: yan commentedBoost 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. ;)
Comment #14
Anonymous (not verified) CreditAttribution: Anonymous commentedif from the .htaccess generation
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).
Comment #15
yan CreditAttribution: yan commentedOn the discussion about SSL, see:
#1923290: Create separate caches for pages accessed through http and https
Comment #16
yan CreditAttribution: yan commentedRaising 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.