惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
爱范儿
爱范儿
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
雷峰网
雷峰网
V
V2EX
博客园_首页
Engineering at Meta
Engineering at Meta
博客园 - 聂微东
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Apple Machine Learning Research
Apple Machine Learning Research
GbyAI
GbyAI
H
Help Net Security
A
About on SuperTechFans
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Blog — PlanetScale
Blog — PlanetScale
W
WeLiveSecurity
云风的 BLOG
云风的 BLOG
D
Docker
Security Archives - TechRepublic
Security Archives - TechRepublic
Help Net Security
Help Net Security
N
News and Events Feed by Topic
Simon Willison's Weblog
Simon Willison's Weblog
G
Google Developers Blog
A
Arctic Wolf
T
The Blog of Author Tim Ferriss
博客园 - 叶小钗
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Google DeepMind News
Google DeepMind News
博客园 - 三生石上(FineUI控件)
aimingoo的专栏
aimingoo的专栏
Hacker News: Ask HN
Hacker News: Ask HN
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 司徒正美
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Privacy International News Feed
T
Troy Hunt's Blog
T
Tenable Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Recorded Future
Recorded Future
F
Fortinet All Blogs
D
DataBreaches.Net
B
Blog
T
Threat Research - Cisco Blogs
MyScale Blog
MyScale Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
The GitHub Blog
The GitHub Blog
Security Latest
Security Latest
M
MIT News - Artificial intelligence

CloudCannon Blog

Building with AI: Git-based vs headless vs traditional CMS CloudCannon + Astro: performance meets powerful content management Introducing the Astro Component Starter Introducing Jetstream — built on the Astro Component Starter Why we switched to the system font stack Redesigning CloudCannon’s docs with Diátaxis, Lume, and Pagefind Make content editing more visual: upgraded Editable Regions How Configuration Mode makes building editing interfaces easy Your hosting just got an upgrade (and a price cut) Custom testing domains for professional branding Keep your content consistent with input validation Managing multilingual content in CloudCannon Simplify team publishing with conflict resolution and domain tools Open Beta: Publishing Conflict Resolution Getting started with CloudCannon and Astro: Bookshop, components, and live editing Welcome to the CloudCannon Community! Omnichannel delivery is just marketing spin from API-based CMS companies Getting started with CloudCannon and Astro: Snippets and Collections Managing digital assets in CloudCannon: a guide to smart asset storage Understanding CloudCannon's branching workflows and Projects: a complete guide What is a static website? CloudCannon’s 2024 wrapped Getting started with CloudCannon and Astro: WYSIWYG blogging Jamstack vs. WordPress: reasons to make the change The top five static site generators for 2025 (and when to use them!) Free Jekyll themes for 2025: ten great community options Eleventy (11ty) vs. Hugo How to set up WYSIWYG editing with MkDocs Material The rise of static-first websites: why major brands are making the switch Watching your Core Web Vitals on Jamstack Understanding the difference between static, dynamic, and hybrid websites Looking for an alternative to Netlify CMS or Decap CMS? Designing components for your website editors: a CloudCannon case study Does my website look big in this? Six tips to lower your page weight Content is sacred — so own your revision history The eternal balancing act: load time vs. delay time Streamlined Headless Mode, Unified Configuration, and live data editing What is a headless CMS? Looking for a TinaCMS or Tina Cloud alternative? The ultimate guide to Hugo Sections Coming soon: Live config editing and data reloading Faster publishing workflows out now! Why information architecture matters for your website Website UX vs SEO: picking your battles Easily manage your multilingual Astro site in CloudCannon How you can optimize publishing workflows for your content team How you can optimize your CMS for SEO success How you can optimize your Content Editor for long-form articles How you can optimize your Visual Editor for page building Secure, swift, and stable: static sites for the financial sector Enhanced flexibility for teams with Custom Permissions Building static sites that scale The Inaugural 11ty International Symposium on Making Web Sites Real Good How to manage hundreds of connected websites with a Git-based headless CMS How we’re building CloudCannon for accessibility CloudCannon’s new editing improvements are here! Open Beta | New ways to collaborate on editing your websites Top 11 free Eleventy themes for 2024 Top 10 free Astro themes to use in 2024 Why choose a Git-based headless CMS over a monolithic DXP in 2024? Learning web development: a self-guided roadmap Partner Site of the Month: Blüthner Piano Centre, by Winteractive CloudCannon’s 2023 wrapup Let’s create a microblog with visual editing using Bookshop and Eleventy Update and visualize your branches with CloudCannon Projects What is a Git-based CMS and why you should use one CloudCannon secures SOC 2 certification The complete guide to growing your web development agency Automatically optimize your images with Eleventy Image and CloudCannon Share components and syndicate content with Site Mounting Partner Site of the Month: Cru Uncorked, by Ed Meehan New web component for responsive HTML tables Wrapping up HugoConf 2023 Partner Site of the Month: Van Dillen Antieke Bouwmaterialen, by Fulldev How to become a freelance web developer: a comprehensive guide Q3 2023: CloudCannon features and improvements 22 ways to deliver more value to your web development clients Partner Site of the Month: DC Gay Flag Football League, by Ed Cupaioli A new way to configure your CloudCannon sites CloudCannon — the official CMS partner of Eleventy Full CloudCannon support for Nuxt static sites Partner Site of the Month: Stadium Bike, by Insight Creative, Inc. HugoConf 2023, brought to you by CloudCannon DAM Support for Cloudflare R2 and DigitalOcean Spaces Eleventy (11ty) vs. Gatsby in 2023 – which SSG is best for you? How CloudCannon’s live editing works with Astro and Bookshop Partner Site of the Month: Fiducian, by Croissant & Baguette Eleventy (11ty) vs. Astro How to customize CloudCannon’s Client Sharing interface Let anyone, anywhere, edit your CloudCannon sites Top 23 free Astro themes for building out-of-this-world static sites in 2023 How Jampack optimizes our Eleventy website and improves performance Astro vs. Next.js CloudCannon.com is now built with Eleventy! Out-of-this-world support for all Astro users Introducing the CloudCannon Partner Program Full CloudCannon support for Gatsby Top 10 Free SvelteKit Themes for Building Lighting-Fast Static Sites in 2023 Enhanced CloudCannon support for Next.js users Upcoming CloudCannon Interface improvements (Open Beta)
Make your websites faster with CloudCannon
2019-11-19 · via CloudCannon Blog

The speed of your website impacts many aspects of your business. Google found that going from a load time of one second to five increased the bounce rate by 90%.

Not only will you lose customers on a slow website but it will rank lower in search engines, conversions will suffer, as will customer happiness.

We strive to make CloudCannon Hosting one of the fastest out there. Today we're looking at how we achieve fast load times and how it benefits your business and customers.

Cloudflare Partnership Direct link to this section

One of our main focusses of CloudCannon Hosting is delivering files as quickly as possible, anywhere in the world. Previously our infrastructure served sites out of California. This was fast if you were viewing a site while in California, but slow viewing it from anywhere else.

To solve this issue, we set out to partner with a CDN provider to serve CloudCannon websites from edge nodes around the world. After testing all of the major CDN providers out there, we settled on Cloudflare.

Last month we rolled Cloudflare out across the majority of sites hosted on CloudCannon and the speeds speak for themselves. On our old infrastructure the full download of an HTML file could be upwards of 500ms. With Cloudflare we're seeing this consistently drop to under 20ms around the globe.

It's worth noting you don't need your own Cloudflare account to take advantage of this. Either use CloudCannon DNS or CNAME your subdomain to sites.cloudcannon.com and your site will serve through Cloudflare's super fast network.

Asset Finger Printing Direct link to this section

The cache control header defines how long an asset should be cached before attempting to request it from the server again. Ideally you want to cache assets for as long as possible as it greatly reduces requests while browsing a website. The downside of caching for too long is if you do change the asset, it might take a while before everyone has the new version.

CloudCannon performs automatic asset finger printing which gets around serving stale assets. It works by renaming the asset to include a fingerprint of the contents. For example a file called style.css might become style-74b87337454200d4d33f80c4663dc5e5.css after finger printing. If the contents changes so will the file name which forces the browser to request the new file. This allows CloudCannon to cache these files for years without it going stale.

Asset Optimisations Direct link to this section

Descriptive variable names and plenty of white space are great ways to make your CSS and JavaScript easier to understand for humans. When it comes to computers, having the source code nicely formatted and readable code has no impact on how it's processed yet adds to the file size which impacts load time.

Minifiers help solve this problem by turning a nice human readable file into a condensed file that basically only a computer can understand. CloudCannon automatically minifies JavaScript files using Uglifier and CSS using clean-css. This gives you the best of both worlds where your source code remains nicely readable and the build site has minified assets.

Compression Direct link to this section

In the past, internet speeds were slower so it was common to zip a document before emailing it to someone to reduce the file size. Compression on a web server works in a similar way. When the browser requests a file it adds a header defining which compression algorithms (if any) it understands. Before the server sends the response it compresses the body which greatly reduces the file size. Once the browser has the response it can uncompress the body to get the original response.

CloudCannon automatically runs gzip or brotli compression for supported content types which greatly reduces the file size meaning faster load times for your customers.

Path Rewriting Direct link to this section

Every time you make a request to a URL, the browser sends the cookies it has for that domain. If you're using the cookies for authentication, analytics or some other use this is a necessary overhead. However, there are many situations where you don't need the cookies. It's rare that you would need to process cookies when requesting an asset like an image or CSS file so the overhead of sending them is wasted.

By default CloudCannon rewrites asset paths to serve them from a custom CDN domain. The browser won't have any cookies for the CDN domain so the overhead is avoided altogether.

Summary Direct link to this section

We're constantly striving to make CloudCannon Hosting the fastest on the internet and to do it automatically. Keep an eye out for future performance improvements we have in the pipeline.