eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

227
active users

#webperformance

0 posts0 participants0 posts today
Neil Craig<p>A *single* Jira (cloud/SaaS) ticket page inc. assets is 53.3MB.<br>There's not even any images or attachments and only 4 very short comments.<br><a href="https://mastodon.social/tags/WebPerformance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebPerformance</span></a></p>
WebPerformance Report<p>🔔 Don’t have your report yet? <br>You’re just in time to get this week’s <a href="https://webperf.social/tags/WebPerformance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebPerformance</span></a> Report. <br>Used by experts at Google, Mozilla, Chanel, Airbnb, and more. <br>Get your own report now 👉 <a href="https://webperformancereport.com" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">webperformancereport.com</span><span class="invisible"></span></a> <br><a href="https://webperf.social/tags/webperf" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webperf</span></a> <a href="https://webperf.social/tags/ux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ux</span></a> <a href="https://webperf.social/tags/seo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>seo</span></a> <a href="https://webperf.social/tags/websecurity" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>websecurity</span></a> <a href="https://webperf.social/tags/cybersecurity" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cybersecurity</span></a> <a href="https://webperf.social/tags/martech" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>martech</span></a> <a href="https://webperf.social/tags/digitalmarketing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>digitalmarketing</span></a></p>
Winbuzzer<p>Google Analyst Warns: AI Bots Risk Internet Gridlock By Server Overload</p><p><a href="https://mastodon.social/tags/AI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AI</span></a> <a href="https://mastodon.social/tags/AICrawlers" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AICrawlers</span></a> <a href="https://mastodon.social/tags/InternetCongestion" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>InternetCongestion</span></a> <a href="https://mastodon.social/tags/WebPerformance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebPerformance</span></a> <a href="https://mastodon.social/tags/Google" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Google</span></a> <a href="https://mastodon.social/tags/AIethics" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AIethics</span></a> <a href="https://mastodon.social/tags/CyberSecurity" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CyberSecurity</span></a> <a href="https://mastodon.social/tags/FutureOfWeb" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FutureOfWeb</span></a> <a href="https://mastodon.social/tags/AISafety" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AISafety</span></a> <a href="https://mastodon.social/tags/DataPrivacy" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DataPrivacy</span></a></p><p><a href="https://winbuzzer.com/2025/05/31/google-analyst-warns-ai-bots-risk-internet-gridlock-by-server-overload-xcxwbn/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">winbuzzer.com/2025/05/31/googl</span><span class="invisible">e-analyst-warns-ai-bots-risk-internet-gridlock-by-server-overload-xcxwbn/</span></a></p>
Boris Schapira (Pro)<p>Comme je sais que mon audience est plutôt sensible à ces sujets, une autre démo où on voit que l'agent IA Sense est également capable de répondre aux questions sur la Web Performance et les Core Web Vitals.</p><p><a href="https://hachyderm.io/tags/WebPerformance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebPerformance</span></a> <a href="https://hachyderm.io/tags/SpeedAnalysis" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SpeedAnalysis</span></a> <a href="https://hachyderm.io/tags/CoreWebVitals" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CoreWebVitals</span></a> <a href="https://hachyderm.io/tags/RUM" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RUM</span></a></p>
WebPerformance Report<p>🔔 Reminder!!! There's still time to get this week's <a href="https://webperf.social/tags/WebPerformance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebPerformance</span></a> Report!<br>Don't miss out, subscribe now on our website:<br>👉 <a href="https://webperformancereport.com" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">webperformancereport.com</span><span class="invisible"></span></a><br><a href="https://webperf.social/tags/webperf" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webperf</span></a></p>
Syde<p>🚀 Meet Syde at <a href="https://mastodon.social/tags/CloudFest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CloudFest</span></a> 2025! 🌐</p><p>We’re pushing WordPress performance at the Hackathon &amp; sharing insights at our booth.</p><p>📍 Europa-Park, Rust<br>📅 March 17-20, 2025<br>🎁 Grab our Whitepaper &amp; win a Free QA Audit!</p><p>Let’s shape the future of hosting! 💡</p><p><a href="https://mastodon.social/tags/WordPress" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WordPress</span></a> <a href="https://mastodon.social/tags/WebPerformance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebPerformance</span></a> <a href="https://mastodon.social/tags/Networking" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Networking</span></a></p>
Pen Test Partners<p>Although frequently misunderstood, the HTTP Cache-Control header is crucial because it specifies caching mechanisms within requests and responses.&nbsp; In its typical format, it reveals details as to how resources are stored, the location of the resource and the maximum age before expiring…</p><p>In our latest blog post, Kieran Larking highlights that the No-cache directive does not prevent caching and looks at typical caching behaviour directives and how to correctly use these directives to balance performance and security: <a href="https://www.pentestpartners.com/security-blog/take-control-of-cache-control-and-local-caching/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">pentestpartners.com/security-b</span><span class="invisible">log/take-control-of-cache-control-and-local-caching/</span></a></p><p><a href="https://infosec.exchange/tags/Caching" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Caching</span></a> <a href="https://infosec.exchange/tags/CacheControl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CacheControl</span></a> <a href="https://infosec.exchange/tags/WebPerformance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebPerformance</span></a> <a href="https://infosec.exchange/tags/WebSecurity" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebSecurity</span></a> <a href="https://infosec.exchange/tags/HTTPHeaders" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTTPHeaders</span></a> <a href="https://infosec.exchange/tags/Cybersecurity" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Cybersecurity</span></a> <a href="https://infosec.exchange/tags/DeveloperGuide" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DeveloperGuide</span></a> <a href="https://infosec.exchange/tags/HTTP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTTP</span></a></p>
rijo<p>ICYMI: Google speeds up search with new prefetching system <a href="https://ppc.land/google-speeds-up-search-with-new-prefetching-system/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ppc.land/google-speeds-up-sear</span><span class="invisible">ch-with-new-prefetching-system/</span></a> <a href="https://frankfurt.social/tags/GoogleSearch" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GoogleSearch</span></a> <a href="https://frankfurt.social/tags/PageSpeed" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PageSpeed</span></a> <a href="https://frankfurt.social/tags/SEO" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SEO</span></a> <a href="https://frankfurt.social/tags/WebPerformance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebPerformance</span></a> <a href="https://frankfurt.social/tags/TechNews" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TechNews</span></a></p>
PPC Land<p>ICYMI: Google speeds up search with new prefetching system: Google Search implements Speculation Rules API to reduce page load times by up to 67 milliseconds for search results. <a href="https://ppc.land/google-speeds-up-search-with-new-prefetching-system/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ppc.land/google-speeds-up-sear</span><span class="invisible">ch-with-new-prefetching-system/</span></a> <a href="https://mastodon.social/tags/GoogleSearch" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GoogleSearch</span></a> <a href="https://mastodon.social/tags/PageSpeed" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PageSpeed</span></a> <a href="https://mastodon.social/tags/SEO" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SEO</span></a> <a href="https://mastodon.social/tags/WebPerformance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebPerformance</span></a> <a href="https://mastodon.social/tags/TechNews" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TechNews</span></a></p>
PPC Land<p>Google speeds up search with new prefetching system: Google Search implements Speculation Rules API to reduce page load times by up to 67 milliseconds for search results. <a href="https://ppc.land/google-speeds-up-search-with-new-prefetching-system/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ppc.land/google-speeds-up-sear</span><span class="invisible">ch-with-new-prefetching-system/</span></a> <a href="https://mastodon.social/tags/GoogleSearch" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GoogleSearch</span></a> <a href="https://mastodon.social/tags/PageSpeed" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PageSpeed</span></a> <a href="https://mastodon.social/tags/SEO" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SEO</span></a> <a href="https://mastodon.social/tags/WebPerformance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebPerformance</span></a> <a href="https://mastodon.social/tags/DigitalMarketing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DigitalMarketing</span></a></p>
Tammy Everts<p>I recently published my annual dive into the HTTP Archive, focusing on page growth, web performance, and UX: <a href="https://www.speedcurve.com/blog/page-bloat-2025/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">speedcurve.com/blog/page-bloat</span><span class="invisible">-2025/</span></a></p><p>A common question is "How big SHOULD my pages be?" According to analysis by <span class="h-card" translate="no"><a href="https://toot.cafe/@slightlyoff" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>slightlyoff</span></a></span>, the ideal page should be &lt;1.4 MB with &lt;365 KB coming from JS.</p><p><a href="https://webperf.social/tags/ux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ux</span></a> <a href="https://webperf.social/tags/webperf" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webperf</span></a> <a href="https://webperf.social/tags/pagespeed" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pagespeed</span></a> <a href="https://webperf.social/tags/sitespeed" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sitespeed</span></a> <a href="https://webperf.social/tags/webperformance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webperformance</span></a></p>
Boris Schapira (Pro)<p>Is your bounce rate within the norm? And how much is your traffic costing you? Is your conversion rate up to industry standards?</p><p>The Contentsquare Digital Experience Benchmark is here to answer all these questions and much more.</p><p>With an in-depth analysis of 90 billion sessions (389 billion page views), this report, available as a document or an interactive web application, offers valuable insights into acquisition channels, mobile versus desktop engagement, retention, and revenue.</p><p>It also includes an analysis of the most common UX and technical frustrations (and, as you might suspect if you follow me, it also comments on the impact of Web Performance).</p><p>Optimize your digital strategy: check it out now!</p><p><a href="https://go.contentsquare.com/en/digital-experience-benchmark?utm_source=mastodon&amp;utm_medium=social" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">go.contentsquare.com/en/digita</span><span class="invisible">l-experience-benchmark?utm_source=mastodon&amp;utm_medium=social</span></a></p><p><a href="https://hachyderm.io/tags/Boostmarks" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Boostmarks</span></a> <a href="https://hachyderm.io/tags/UX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UX</span></a> <a href="https://hachyderm.io/tags/WebPerformance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebPerformance</span></a> <a href="https://hachyderm.io/tags/Performance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Performance</span></a></p>
Ayo Ayco<p>There’s a fediverse community for <a href="https://social.ayco.io/tags/WebPerformance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebPerformance</span></a></p><p>👉 <a href="https://webperf.social/about" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">webperf.social/about</span><span class="invisible"></span></a></p><p><a href="https://social.ayco.io/tags/til" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>til</span></a> <a href="https://social.ayco.io/tags/webdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webdev</span></a> <a href="https://social.ayco.io/tags/fediverse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fediverse</span></a> <a href="https://social.ayco.io/tags/mastodon" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mastodon</span></a></p>
LavX News<p>Bridging the Performance Gap: Why Your Web App's Accessibility Matters</p><p>In a world where high-end devices dominate the tech landscape, Alex Hamer's insights reveal a stark reality: not every user has access to premium hardware. Discover how performance disparities between...</p><p><a href="https://news.lavx.hu/article/bridging-the-performance-gap-why-your-web-app-s-accessibility-matters" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">news.lavx.hu/article/bridging-</span><span class="invisible">the-performance-gap-why-your-web-app-s-accessibility-matters</span></a></p><p><a href="https://mastodon.social/tags/news" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>news</span></a> <a href="https://mastodon.social/tags/tech" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tech</span></a> <a href="https://mastodon.social/tags/WebPerformance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebPerformance</span></a> <a href="https://mastodon.social/tags/UserExperience" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UserExperience</span></a> <a href="https://mastodon.social/tags/MobileAccessibility" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MobileAccessibility</span></a></p>
PPC Land<p>Google completes August 2024 Core Update: Google finishes its August 2024 core update after a 19-day rollout. Learn about the timeline, impact, and how to assess your site's performance. <a href="https://ppc.land/google-completes-august-2024-core-update/?utm_source=dlvr.it&amp;utm_medium=mastodon" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ppc.land/google-completes-augu</span><span class="invisible">st-2024-core-update/?utm_source=dlvr.it&amp;utm_medium=mastodon</span></a> <a href="https://mastodon.social/tags/GoogleUpdate" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GoogleUpdate</span></a> <a href="https://mastodon.social/tags/CoreUpdate" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CoreUpdate</span></a> <a href="https://mastodon.social/tags/SEOTips" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SEOTips</span></a> <a href="https://mastodon.social/tags/DigitalMarketing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DigitalMarketing</span></a> <a href="https://mastodon.social/tags/WebPerformance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebPerformance</span></a></p>
Neil Craig<p>After nearly 6.5 years since the bug/feature request was filed, it looks like Chromium are going to implement `cache-control: immutable`!</p><p>The bug has been assigned to someone at Microsoft so maybe they want it in Edge. </p><p>Good news, IMO!</p><p><a href="https://issues.chromium.org/issues/41253661" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">issues.chromium.org/issues/412</span><span class="invisible">53661</span></a></p><p><a href="https://mastodon.social/tags/WebDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebDev</span></a> <a href="https://mastodon.social/tags/CacheControl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CacheControl</span></a> <a href="https://mastodon.social/tags/Immutable" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Immutable</span></a> <a href="https://mastodon.social/tags/WebPerf" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebPerf</span></a> <a href="https://mastodon.social/tags/WebPerformance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebPerformance</span></a></p>
Neil Craig<p>Latest p75 Time To First Byte (TTFB) for www.bbc.com across the world.</p><p>I've probably shared it before but it illustrates the diversity of global, regional and local internet connectivity quality.</p><p>We see variation (for the same content) from 100-200ms in Europe, USA, Canada, Aus, NZ etc. right through to almost 6s for Central African Republic.</p><p>Clearly a lot of improvements to be made in Africa, South America and parts of Asia still.</p><p><a href="https://mastodon.social/tags/webPerformance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webPerformance</span></a> <a href="https://mastodon.social/tags/webDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webDev</span></a> <a href="https://mastodon.social/tags/BBC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BBC</span></a> <a href="https://mastodon.social/tags/internet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>internet</span></a></p>
Neil Craig<p>My pals in BBC World Service have been doing some awesome work on "lite" versions of their news articles (other page types to follow).<br>They essentially skip the Server-Side React hydration which means you end up with a simpler HTML+CSS page, no JS.<br>Page sizes drop significantly:<br>* Transferred: ~600KB -&gt; 30KB<br>* Total: 1.65MB -&gt; 135KB<br>Just append `.lite` on a URL e.g. <a href="https://www.bbc.com/mundo/articles/crgyyvdz1dro.lite" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">bbc.com/mundo/articles/crgyyvd</span><span class="invisible">z1dro.lite</span></a><br>There's no on/off UX at the moment but they're working on that too.<br><a href="https://mastodon.social/tags/WebDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebDev</span></a> <a href="https://mastodon.social/tags/WebPerf" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebPerf</span></a> <a href="https://mastodon.social/tags/WebPerformance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebPerformance</span></a> <a href="https://mastodon.social/tags/BBC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BBC</span></a></p>
piefedadmin<p>Fediverse traffic is pretty bursty and sometimes there will be a large backlog of Activities to send to your server, each of which involves a POST. This can hammer your instance and overwhelm the backend’s ability to keep up. Nginx provides a rate-limiting function which can accept POSTs at full speed and proxy them slowly through to your backend at whatever rate you specify.</p><p>For example, PieFed has a backend which listens on port 5000. Nginx listens on port 443 for POSTs from outside and sends them through to port 5000:</p><pre><code>upstream app_server {&nbsp;&nbsp;&nbsp;server 127.0.0.1:5000 fail_timeout=0;}</code></pre><pre><code>server {&nbsp;&nbsp;&nbsp;listen 443 ssl;&nbsp;&nbsp;&nbsp;listen [::]:443 ssl;&nbsp;&nbsp;&nbsp;server_name piefed.social www.piefed.social;&nbsp;&nbsp;&nbsp;root /var/www/whatever;&nbsp;&nbsp;&nbsp;location / {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# Proxy all requests to Gunicorn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;proxy_set_header X-Forwarded-Proto $scheme;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;proxy_set_header Host $http_host;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;proxy_redirect off;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;proxy_http_version 1.1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;proxy_set_header Connection "";&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;proxy_pass http://app_server;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ssi off;&nbsp;&nbsp;&nbsp;}</code></pre><p>To this basic config we need to add rate limiting, using the ‘limit_req_zone’ directive. Google that for further details.</p><pre><code>limit_req_zone $binary_remote_addr zone=one:100m rate=10r/s;</code></pre><p>This will use up to 100 MB of RAM as a buffer and limit POSTs to 10 per second, per IP address. Adjust as needed. If the sender is using multiple IP addresses the rate limit will not be as effective. Put this directive outside your server {} block.</p><p>Then after our first location / {} block, add a second one that is a copy of the first except with one additional line (and change it to apply to <strong>location /inbox</strong> or whatever the inbox URL is for your instance):</p><pre><code>location /inbox {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>limit_req zone=one burst=300;</strong># &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;limit_req_dry_run on;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;proxy_set_header X-Forwarded-Proto $scheme;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;proxy_set_header Host $http_host;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;proxy_redirect off;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;proxy_http_version 1.1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;proxy_set_header Connection "";&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;proxy_pass http://app_server;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ssi off;&nbsp;&nbsp;}</code></pre><p>300 is the maximum number of POSTs it will have in the queue. You can use limit_req_dry_run to test the rate limiting without actually doing any limiting – watch the nginx logs for messages while doing a dry run.</p><p>It’s been a while since I set this up so please let me know if I mixed anything crucial out or said something misleading.</p><p><a href="https://join.piefed.social/2024/04/17/handling-large-bursts-of-post-requests-to-your-activitypub-inbox-using-a-buffer-in-nginx/" class="" rel="nofollow noopener noreferrer" target="_blank">https://join.piefed.social/2024/04/17/handling-large-bursts-of-post-requests-to-your-activitypub-inbox-using-a-buffer-in-nginx/</a></p><p><a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://join.piefed.social/tag/nginx/" target="_blank">#nginx</a> <a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://join.piefed.social/tag/web-performance/" target="_blank">#webPerformance</a></p>
Tammy Everts<p>Every year I revisit the topic of web performance budgets. Here's my updated guide, including:</p><p>✅ What are performance budgets?<br>✅ Why are they a crucial tool in fighting page speed regression?<br>✅ Best metrics to track<br>✅ Determining thresholds<br>✅ Pro tips</p><p><a href="https://www.speedcurve.com/blog/performance-budgets/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">speedcurve.com/blog/performanc</span><span class="invisible">e-budgets/</span></a> <br><a href="https://webperf.social/tags/ux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ux</span></a> <a href="https://webperf.social/tags/pagespeed" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pagespeed</span></a> <a href="https://webperf.social/tags/corewebvitals" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>corewebvitals</span></a> <a href="https://webperf.social/tags/webperf" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webperf</span></a> <a href="https://webperf.social/tags/webperformance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webperformance</span></a></p>