All add-ons currently require PHP 7.4 or greater.

On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.

Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Homepage isn’t loading static cache

Status Resolved
Add-on / Version Speedy 1.8.1
Severity
EE Version 7.3.14

chrisdaviesweb

Jan 10, 2024

Hi Brian,
When loading a site with Speedy static cache, the homepage isn’t loading from the cache. All other pages are.
When regenerating the cache - deleting the ‘static/’ folder, then navigating to the homepage, the template is being created correctly, but when using the debug ‘?speedy_debug=1’, the [speedy debug] isn’t output.

#1

chrisdaviesweb

Comment has been marked private.

#2

chrisdaviesweb

Comment has been marked private.

#3

BoldMinded (Brian)

What does your template look like that has the {exp:speedy:static} tag in it?

#4

chrisdaviesweb

Comment has been marked private.

#5

BoldMinded (Brian)

On line 516 or so of mod.speedy.php, change it to this:

$isRedisDriver = $this->getCacheDriver() instanceof RedisDriver;
$indexKey = $isRedisDriver ? 'index' : '';
$uriString = ee()->uri->uri_string() ?: $indexKey;
#6

BoldMinded (Brian)

Comment has been marked private.

#7

chrisdaviesweb

Smashed it! That looks to be working perfectly now. Is this new build likely to affect anything else, or does it just include this fix? Just want to be sure before pushing live.

#8

BoldMinded (Brian)

That fix is a regression from a change I made a few weeks ago, so the build you have will eventually be live.

#9

chrisdaviesweb

Great. Thanks, Brian.

Login to reply