Welcome to the #general:rules category. Post here for questions about Bulk Redirects, Page Rules, Transform Rules.
EDIT: I have resolved the problem ā it was because I had not updated my DNS to point to the IP for archive.org
Hi,
I have a simple case that Iām struggling to implement.
I have had a problem with the host machine for my site and so need to temporarily redirect my URL to the URL of the Wayback Machineās cache while I get it back up and running properly. Itās really important that my URL doesnāt just resolve to a dead page.
I have created a bulk redirect list with my source URL as mypage.com/
and the target URL as https://web.archive.org/web/datestamp/http://mypage.com/
(and the same thing again with the www subdomain).
I have saved and deployed the list and it is set to āenabledā but nothing is happening and I feel like I have missed something obviousā¦
Any ideas?
Thanks,
Ad
Response Transform Rule Preventing Font Rendering
First time poster - Iāve encountered a really weird behaviour that I think might be a bug.
If I have an HTTP response transform rule (for content-security-policy) enabled my self-hosted fonts are loading, but not rendering. Even innocuous transformations that shouldnāt impact fonts.
Scenario 1
- Single transform rule with the following config: Set static ā Content-Security-Policy ā frame-ancestors ānoneā;
- Purge Everything in the Cache Config page
- ctrl+f5 to reload my siteās home page on any browser
- In dev tools > Networks, check that the content-security-policy is included in the home page response (can take a minute or so - if not, rerun ctrl+f5 on previous step)
- Observe font
RESULT: The custom fonts load and render correctly
Scenario 2
- Single transform rule with the following config: Set static ā Content-Security-Policy ā frame-ancestors ānoneā; default-src āselfā; <<i.e. one extra value added on compared to previous
- As before, urge Everything in the Cache Config page
- As before ctrl+f5 to reload my siteās home page on any browser
- As before in dev tools > Networks, check that the content-security-policy is included in the home page response (can take a minute or so - if not, rerun ctrl+f5 on previous step)
- Observe font
EXPECTED RESULT: The custom fonts load and render correctly
ACTUAL RESULT: The fonts load (I can see they have successfully loaded in Sources) but they donāt render.
This screenshot is Edge. I can see the fonts have loaded successfully from Self. I can also see that a base64 image has been blocked by CSP - which is expected as I havenāt enabled data: for img-src. So the font isnāt being blocked from loading by the CSP (itās black, not red), but something is stopping the custom font rendering.
My fonts are definitely self hosted!
Iām Facing this issue with my compare page
Thanks and Regards