<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Cloudflare on 流动</title>
		<link>https://liudon.com/tags/cloudflare/</link>
		<description>Recent content in Cloudflare on 流动</description>
		<generator>Hugo</generator>
		<language>zh-CN</language>
		
		
		
		
			<lastBuildDate>Thu, 26 Sep 2024 22:18:23 +0800</lastBuildDate>
		
			<atom:link href="https://liudon.com/tags/cloudflare/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>博客被恶意镜像</title>
				<link>https://liudon.com/posts/blog-malicious-mirroring/</link>
				<pubDate>Thu, 26 Sep 2024 22:18:23 +0800</pubDate>
				<guid>https://liudon.com/posts/blog-malicious-mirroring/</guid>
				<description>&lt;h2 id=&#34;起因&#34;&gt;起因&lt;/h2&gt;&#xA;&lt;p&gt;9月初的时候，在&lt;code&gt;Google Search Console&lt;/code&gt;里发现了一个外链，域名是&lt;code&gt;**.top&lt;/code&gt;。&lt;/p&gt;&#xA;&lt;p&gt;随手点过去看了下，发现居然跟我的博客内容一模一样，就是内容变成了繁体。&lt;/p&gt;</description>
			</item>
			<item>
				<title>搭建自托管IPFS Gateway服务，替代Cloudflare的IPFS Gateway</title>
				<link>https://liudon.com/posts/replacing-cloudflare-ipfs-gateway-with-self-hosted-gateway/</link>
				<pubDate>Wed, 22 May 2024 21:20:20 +0800</pubDate>
				<guid>https://liudon.com/posts/replacing-cloudflare-ipfs-gateway-with-self-hosted-gateway/</guid>
				<description>&lt;h4 id=&#34;背景&#34;&gt;背景&lt;/h4&gt;&#xA;&lt;p&gt;4月底的时候，Livid大佬提醒，&lt;code&gt;Cloudflare&lt;/code&gt;应该是调整了&lt;code&gt;IPFS Gateway&lt;/code&gt;网关策略，我的&lt;a href=&#34;https://liudon.xyz&#34;&gt;IPFS镜像博客&lt;/a&gt;无法访问了。&lt;/p&gt;&#xA;&lt;p&gt;没查到&lt;code&gt;Cloudflare&lt;/code&gt;的调整说明，不过还好&lt;code&gt;IPFS&lt;/code&gt;官方也提供了公共网关&lt;code&gt;gateway.ipfs.io&lt;/code&gt;，将域名解析改到官网网关。&lt;/p&gt;</description>
			</item>
			<item>
				<title>加速Cloudflare访问</title>
				<link>https://liudon.com/posts/%E5%8A%A0%E9%80%9Fcloudflare%E8%AE%BF%E9%97%AE/</link>
				<pubDate>Wed, 21 Feb 2024 20:25:49 +0800</pubDate>
				<guid>https://liudon.com/posts/%E5%8A%A0%E9%80%9Fcloudflare%E8%AE%BF%E9%97%AE/</guid>
				<description>&lt;h4 id=&#34;背景&#34;&gt;背景&lt;/h4&gt;&#xA;&lt;p&gt;&lt;picture&gt;&lt;source type=&#34;image/avif&#34; srcset=&#34;https://liudon.com/posts/%E5%8A%A0%E9%80%9Fcloudflare%E8%AE%BF%E9%97%AE/blog.png_320x.avif 320w, https://liudon.com/posts/%E5%8A%A0%E9%80%9Fcloudflare%E8%AE%BF%E9%97%AE/blog.png_480x.avif 480w, https://liudon.com/posts/%E5%8A%A0%E9%80%9Fcloudflare%E8%AE%BF%E9%97%AE/blog.png_720x.avif 720w, https://liudon.com/posts/%E5%8A%A0%E9%80%9Fcloudflare%E8%AE%BF%E9%97%AE/blog.png_828x.avif 828w&#34; sizes=&#34;auto, (min-width: 1080px) 1080px, calc(100vw - 32px)&#34;&gt;&lt;source type=&#34;image/webp&#34; srcset=&#34;https://liudon.com/posts/%E5%8A%A0%E9%80%9Fcloudflare%E8%AE%BF%E9%97%AE/blog.png_320x.webp 320w, https://liudon.com/posts/%E5%8A%A0%E9%80%9Fcloudflare%E8%AE%BF%E9%97%AE/blog.png_480x.webp 480w, https://liudon.com/posts/%E5%8A%A0%E9%80%9Fcloudflare%E8%AE%BF%E9%97%AE/blog.png_720x.webp 720w, https://liudon.com/posts/%E5%8A%A0%E9%80%9Fcloudflare%E8%AE%BF%E9%97%AE/blog.png_828x.webp 828w&#34; sizes=&#34;auto, (min-width: 1080px) 1080px, calc(100vw - 32px)&#34;&gt;&lt;img src=&#34;../../posts/%E5%8A%A0%E9%80%9Fcloudflare%E8%AE%BF%E9%97%AE/blog.png&#34; alt=&#34;博客架构&#34;&#xA;         width=&#34;828&#34; height=&#34;753&#34;&#xA;         loading=&#34;lazy&#34; decoding=&#34;async&#34;&gt;&#xA;  &lt;/picture&gt;&lt;/p&gt;&#xA;&lt;p&gt;这是当前的博客架构，文件保存在&lt;code&gt;Github&lt;/code&gt;仓库，通过&lt;code&gt;Cloudflare Page&lt;/code&gt;提供访问。&lt;/p&gt;</description>
			</item>
			<item>
				<title>加速Google Analytics</title>
				<link>https://liudon.com/posts/optimize-google-analytics/</link>
				<pubDate>Sat, 02 Dec 2023 09:25:49 +0800</pubDate>
				<guid>https://liudon.com/posts/optimize-google-analytics/</guid>
				<description>&lt;h3 id=&#34;起因&#34;&gt;起因&lt;/h3&gt;&#xA;&lt;p&gt;&lt;code&gt;Google Analytics&lt;/code&gt;是一款优秀的流量分析服务，集成方便，使用简单。&lt;/p&gt;&#xA;&lt;p&gt;最近在优化页面访问速度，发现&lt;code&gt;Google Analytics&lt;/code&gt;是一个优化点。&lt;/p&gt;&#xA;&lt;h3 id=&#34;优化&#34;&gt;优化&lt;/h3&gt;&#xA;&lt;h4 id=&#34;1-访问加速&#34;&gt;1. 访问加速&lt;/h4&gt;&#xA;&lt;p&gt;国内访问&lt;code&gt;Google Analytics&lt;/code&gt;很慢，同时还面临着各种广告屏蔽插件拦截。&lt;/p&gt;</description>
			</item>
			<item>
				<title>将博客部署到星际文件系统(IPFS)</title>
				<link>https://liudon.com/posts/deploy-blog-to-ipfs/</link>
				<pubDate>Tue, 21 Feb 2023 19:46:58 +0800</pubDate>
				<guid>https://liudon.com/posts/deploy-blog-to-ipfs/</guid>
				<description>&lt;p&gt;在这篇文章，我将会介绍如何利用&lt;code&gt;Github Actions&lt;/code&gt;将&lt;code&gt;hugo&lt;/code&gt;博客自动部署到&lt;code&gt;IPFS&lt;/code&gt;上，并通过自定义域名访问&lt;code&gt;IPFS&lt;/code&gt;上的文件。&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;IPFS（InterPlanetary File System）中文称为星际文件系统，是一个旨在实现文件的分布式存储、共享和持久化的网络传输协议。&lt;/p&gt;</description>
			</item>
			<item>
				<title>去掉Cloudflare烦人的email-decode.min.js请求</title>
				<link>https://liudon.com/posts/remove-cloudflares-email-decode.min.js/</link>
				<pubDate>Fri, 26 Aug 2022 23:25:57 +0800</pubDate>
				<guid>https://liudon.com/posts/remove-cloudflares-email-decode.min.js/</guid>
				<description>&lt;p&gt;通过WebPageTest页面测试，发现一个&lt;code&gt;/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js&lt;/code&gt;的文件请求，影响到了页面渲染。&lt;/p&gt;</description>
			</item>
			<item>
				<title>将博客部署到Cloudflare Pages</title>
				<link>https://liudon.com/posts/deploy-blog-to-cloudflare-pages/</link>
				<pubDate>Fri, 29 Jul 2022 23:16:01 +0800</pubDate>
				<guid>https://liudon.com/posts/deploy-blog-to-cloudflare-pages/</guid>
				<description>&lt;p&gt;目前博客是部署到了&lt;code&gt;Github Pages&lt;/code&gt;上，具体实现见&lt;a href=&#34;https://liudon.com/posts/%E5%8D%9A%E5%AE%A2%E6%9E%B6%E6%9E%84%E8%AF%B4%E6%98%8E/&#34;&gt;博客架构说明&lt;/a&gt;。&lt;/p&gt;&#xA;&lt;h4 id=&#34;缘由&#34;&gt;缘由&lt;/h4&gt;&#xA;&lt;p&gt;&lt;code&gt;Github Pages&lt;/code&gt;部署有一个问题，就是不支持&lt;code&gt;HSTS&lt;/code&gt;。&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;HTTP Strict Transport Security（通常简称为HSTS）是一个安全功能，它告诉浏览器只能通过 HTTPS 访问当前资源，而不是HTTP。&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
