Archived topic
the Generate Blocks plugin, which does not seem compatible with CDN rewriting.
10 replies · Started by abd-ell-fattah on September 17, 2021
the Generate Blocks plugin, which does not seem compatible with CDN rewriting.
The issue seems to be caused by the Generate Blocks plugin, which does not seem compatible with CDN rewriting.
That's the reason that some of the images are indeed being served directly.
MY site is not loading some webp images from the CDN.
Could it be a problem with the Alpha version he used?
Waiting for you, Tom.
look:
https://prnt.sc/1smsns9
I don't think it's done that way!
Where is the response !!!????
Am I being ignored here????
MY site is not loading some webp images from the CDN.
Tooo:
MY site is not loading sitemap_index.xml from the CDN.
https://cdn.albaytalraqy.com/sitemap_index.xml
https://albaytalraqy.com/sitemap_index.xml
Hi there,
I've forwarded your question to Tom and he will respond when he has a chance.
It's the weekend here so the response so there will be a bit of delay:
https://generatepress.com/what-support-includes/
Thanks for your patience :)
Of course I'm waiting for Tom.
I hope I'm not ignored like this again.
Thank you, Leo.
the images that are going through the CDN are linked directly, using an tag.
Looking at home page, that's the case with the images located in the second page section.
The images that are NOT going through the CDN are linked using the Generate Blocks plugin through CSS - and because CDN plugins can't rewrite the contents of CSS files, they are going directly.
Hi there,
Please be patient - no one is ignoring you. It's the weekend and replies can take up to 48 hours (https://generatepress.com/what-support-includes/), especially if I'm needed specifically.
GenerateBlocks does indeed load background images via CSS. It's not an option at the moment to load them within the HTML, although we do have an open issue about it here: https://github.com/tomusborne/generateblocks/issues/58
Thanks.
- Thank you, Tom, for giving the statement here.
"I will take into account the terms of support in the future."
I'm so sad, Tom.
- I was hoping to find a solution to this problem quickly, especially since it has a significant impact on the speed of my site.
I noticed this case has been on the table since 1 Apr.
There is no comment at all.
https://github.com/tomusborne/generateblocks/issues/58
I'll wait for the solution soon, Tom.
All thanks.
Appreciation.
By the future, I mean it could be an option in 1.5 if we find an appropriate solution.
1.4 is already in public testing and has a feature freeze, so it's far too late to come up with a well-planned solution and implement it.
However, it's something we'll look at for 1.5.
You can skip the options completely if you'd like and manually filter in your style attributes with the background image -all of the HTML attributes are filterable. If you need an example of that please feel free to open a support ticket: https://generateblocks.com/support
Thanks!
No problem.
I'll wait for the plug-in update.
I solved the problem another way!
I used the wprocket plug-in
See screenshot.
https://prnt.sc/1sz0aph
Awesome - glad you got it sorted :)