Closed kbergha closed 2 weeks ago
Thanks for reporting this. The addition in https://github.com/putyourlightson/craft-blitz/commit/385ab48749efdf5ef0dd63cd2ae33f69834b6e11 should fix this. Can you please test and let me know if it resolves the issue for you?
Thanks.
Using dev-develop
, it works as expected now.
I also had to update Craft to 5.2.1 at the same time.
Support Request
Hi.
I'm trying to use Blitz for purging with Cloudfront. When saving the home page entry I'm getting purge requests for
/__home__/
instead of the expected/
PHP: 8.3.8 Craft: 5.0.3 Blitz: 5.3.1 Blitz CloudFront Purger: 5.0.0
Blitz setup
As of right now, I'm trying to use Blitz as a purger only due to the issue I have with the local generator (#672)
Purger setup
Invalidation request from AWS console
Section set up
You can see that this section is selected as the home page:
A test query from the database
I'm guessing this is where
/__home__/
comes from.Summary
Why do I get
/__home__/
instead of the expected/
in the invalidation / purge request in AWS ? This is probably related to the change done in https://github.com/putyourlightson/craft-blitz/issues/538 ?I didn't open this issue in the CloudFront purger repo, because I don't think it's a CloudFront specific issue. It's probably an issue with
SiteUriHelper
and/orSiteUriModel
in the base plugin.Plugin Version
5.3.1