mastodon.uno è uno dei tanti server Mastodon indipendenti che puoi usare per partecipare al fediverso.
Mastodon.Uno è la principale comunità mastodon italiana. Con 77.000 iscritti è il più grande nodo Mastodon italiano: anima ambientalista a supporto della privacy e del mondo Open Source.

Statistiche del server:

6,2K
utenti attivi

#caching

3 post3 partecipanti0 post oggi
LLMsAI Tokenomics: More Than Talk – See Results from Our Labs Two weeks ago, we blogged about the f...<br><br><a href="https://www.weka.io/blog/gpu/ai-tokenomics-more-than-talk-see-results-from-our-labs/" rel="nofollow noopener noreferrer" target="_blank">https://www.weka.io/blog/gpu/ai-tokenomics-more-than-talk-see-results-from-our-labs/</a><br><br><a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/GPU" target="_blank">#GPU</a> <a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/AI" target="_blank">#AI</a> <a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/Caching" target="_blank">#Caching</a> <a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/Inference" target="_blank">#Inference</a><br><br><a href="https://awakari.com/pub-msg.html?id=OIBTOlR609sxo6nLL7errl4diYi&amp;interestId=LLMs" rel="nofollow noopener noreferrer" target="_blank">Result Details</a>
Trusty<p>🔍 Dive into the world of DNS with our latest video! 🌐 Just released: "What is TTL Records(Time-to-Live)? ⏱️ This video explains what TTL is, how it works in DNS records, and why it's crucial for efficient web performance. </p><p>📹 <a href="https://youtu.be/lZXu5ymxeks" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/lZXu5ymxeks</span><span class="invisible"></span></a></p><p><a href="https://dnsimple.social/tags/DNS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DNS</span></a> <a href="https://dnsimple.social/tags/TTL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TTL</span></a> <a href="https://dnsimple.social/tags/Networking" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Networking</span></a> <a href="https://dnsimple.social/tags/WebPerformance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebPerformance</span></a> <a href="https://dnsimple.social/tags/TimeToLive" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TimeToLive</span></a> <a href="https://dnsimple.social/tags/Caching" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Caching</span></a> <a href="https://dnsimple.social/tags/Internet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Internet</span></a> <a href="https://dnsimple.social/tags/WebDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebDev</span></a> <a href="https://dnsimple.social/tags/Tutorial" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Tutorial</span></a> <a href="https://dnsimple.social/tags/Explained" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Explained</span></a> <a href="https://dnsimple.social/tags/Computers" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Computers</span></a> <a href="https://dnsimple.social/tags/technology" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>technology</span></a></p>
Eric Mann<p>📢 New article alert!</p><p>A year after migrating my site from the cloud to a self-hosted NUC cluster, I'm sharing more technical details behind making it work. I've proven it's viable with the right setup.</p><p>My current stack includes:<br>- WordPress container with Apache and PHP<br>- MySQL and Memcached for data storage<br>- Batcache, Varnish, and Cloudflare for caching</p><p>Updated rules have increased edge cache from 30%!</p><p><a href="https://tekton.network/tags/WebHosting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebHosting</span></a> <a href="https://tekton.network/tags/SelfHosted" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SelfHosted</span></a> <a href="https://tekton.network/tags/WordPress" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WordPress</span></a> <a href="https://tekton.network/tags/Caching" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Caching</span></a> <a href="https://tekton.network/tags/Cloudflare" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Cloudflare</span></a></p><p><a href="https://eric.mann.blog/blogs-and-nucs-and-caching-oh-my/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">eric.mann.blog/blogs-and-nucs-</span><span class="invisible">and-caching-oh-my/</span></a></p>
Frontend Dogma<p>Memoizing the Cache in Laravel, by @amitmerchant.bsky.social:</p><p><a href="https://www.amitmerchant.com/memoizing-the-cache-in-laravel/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">amitmerchant.com/memoizing-the</span><span class="invisible">-cache-in-laravel/</span></a></p><p><a href="https://mas.to/tags/laravel" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>laravel</span></a> <a href="https://mas.to/tags/caching" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>caching</span></a> <a href="https://mas.to/tags/memoization" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>memoization</span></a></p>
LiteSpeed Technologies<p>RELEASED: LSCache v7.1 for WordPress! In this release: Critical CSS Allowlist, bug fixes, and more! <a href="https://wordpress.org/plugins/litespeed-cache/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">wordpress.org/plugins/litespee</span><span class="invisible">d-cache/</span></a> <a href="https://mastodon.social/tags/litespeed" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>litespeed</span></a> <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/caching" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>caching</span></a></p>
FunctionalProgrammingHashnode's Feed Architecture Hashnode's optimized feed uses AWS Step Functions, serverles...<br><br><a href="https://engineering.hashnode.com/hashnodes-feed-architecture" rel="nofollow noopener noreferrer" target="_blank">https://engineering.hashnode.com/hashnodes-feed-architecture</a><br><br><a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/AWS" target="_blank">#AWS</a> <a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/General" target="_blank">#General</a> <a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/Programming" target="_blank">#Programming</a> <a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/architecture" target="_blank">#architecture</a> <a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/serverless" target="_blank">#serverless</a> <a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/caching" target="_blank">#caching</a><br><br><a href="https://awakari.com/pub-msg.html?id=CuGyCdHB8n6kSi60Mq7sq6gBs6i" rel="nofollow noopener noreferrer" target="_blank">Event Attributes</a>
Hassan Habib<p>🚀 Want faster ASP .NET Core apps?</p><p>Learn how to use [ResponseCache] to reduce server load, boost speed, and serve smarter.</p><p>✅ Real-world examples<br>✅ Query key caching<br>✅ Dynamic logic by user</p><p>🎥 Watch here: <a href="https://youtube.com/watch?v=tw6FnccRmzk" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">youtube.com/watch?v=tw6FnccRmz</span><span class="invisible">k</span></a></p><p><a href="https://techhub.social/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a> <a href="https://techhub.social/tags/aspnetcore" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>aspnetcore</span></a> <a href="https://techhub.social/tags/webdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webdev</span></a> <a href="https://techhub.social/tags/caching" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>caching</span></a></p>
Epiphyt<p>ActivityPub is great to connect your WordPress blog to the Fediverse. However, depending on the activity, it is possible to create an accidental DDoS against the own server.</p><p> […]</p><p><a href="https://epiph.yt/en/blog/2025/accidental-ddos-through-activitypub-plugin/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">epiph.yt/en/blog/2025/accident</span><span class="invisible">al-ddos-through-activitypub-plugin/</span></a></p><p><a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://epiph.yt/en/blog/tag/activitypub/" target="_blank">#ActivityPub</a> <a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://epiph.yt/en/blog/tag/cachify/" target="_blank">#Cachify</a> <a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://epiph.yt/en/blog/tag/caching/" target="_blank">#Caching</a> <a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://epiph.yt/en/blog/tag/ddos/" target="_blank">#DDoS</a> <a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://epiph.yt/en/blog/tag/fediverse/" target="_blank">#Fediverse</a> <a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://epiph.yt/en/blog/tag/plugin/" target="_blank">#Plugin</a> <a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://epiph.yt/en/blog/tag/surge/" target="_blank">#Surge</a> <a rel="nofollow noopener noreferrer" class="hashtag u-tag u-category" href="https://epiph.yt/en/blog/tag/wordpress/" target="_blank">#WordPress</a></p>
JCON<p>Excited for <a href="https://mastodon.social/tags/JCON" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JCON</span></a> EUROPE 2025? See Markus Kett at <a href="https://mastodon.social/tags/JCON2025" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JCON2025</span></a> in Cologne talking about '<a href="https://mastodon.social/tags/Caching" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Caching</span></a> Unleashed: Supercharge Your <a href="https://mastodon.social/tags/Database" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Database</span></a> Application'</p><p>Are you struggling with the <a href="https://mastodon.social/tags/performance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>performance</span></a> limitations of <a href="https://mastodon.social/tags/traditional" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>traditional</span></a> …</p><p>Get your free <a href="https://mastodon.social/tags/JUG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JUG</span></a> Ticket: <a href="http://www.jcon.one" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">http://www.</span><span class="">jcon.one</span><span class="invisible"></span></a></p>
Anthony Accioly<p>Quick question for folks who understand HTTP caching on reverse proxies like Squid or Cloudflare. If I have a GET REST endpoint responding with 200 OK and the following headers:</p><p>Cache-Control: public, max-age=3600&nbsp;&nbsp;<br>ETag: "123-a"</p><p>The proxy should cache and serve the response without hitting the underlying server more than once for the first hour, then send a request with If-Match: "123-a" when the cache goes stale, right? Is there any reason why it wouldn’t?</p><p><a href="https://accioly.social/tags/http" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>http</span></a> <a href="https://accioly.social/tags/caching" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>caching</span></a> <a href="https://accioly.social/tags/etag" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>etag</span></a> <a href="https://accioly.social/tags/rest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rest</span></a> <a href="https://accioly.social/tags/tech" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tech</span></a></p>
OpenSourceWhy Kinsta is the Ultimate Managed WordPress Hosting Solution? In today’s digital landscape, a ...<br><br><a href="https://www.abdulazizahwan.com/2025/03/why-kinsta-is-the-ultimate-managed-wordpress-hosting-solution.html" rel="nofollow noopener noreferrer" target="_blank">https://www.abdulazizahwan.com/2025/03/why-kinsta-is-the-ultimate-managed-wordpress-hosting-solution.html</a><br><br><a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/abdul" target="_blank">#abdul</a> <a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/aziz" target="_blank">#aziz</a> <a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/ahwan" target="_blank">#ahwan</a> <a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/bandwith" target="_blank">#bandwith</a> <a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/CDN" target="_blank">#CDN</a> <a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/cloud" target="_blank">#cloud</a> <a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/vps" target="_blank">#vps</a> <a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/ddos" target="_blank">#ddos</a> <a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/edge" target="_blank">#edge</a> <a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/caching" target="_blank">#caching</a> <a rel="nofollow noopener noreferrer" class="mention hashtag" href="https://mastodon.social/tags/hosting" target="_blank">#hosting</a><br><br><a href="https://awakari.com/pub-msg.html?id=AktBvasvwHux89wip4nDF2cZuBk" rel="nofollow noopener noreferrer" target="_blank">Event Attributes</a>
Frontend Dogma<p>Why Do We Have a “Cache-Control” Request Header?, by <span class="h-card" translate="no"><a href="https://webperf.social/@csswizardry" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>csswizardry</span></a></span>:</p><p><a href="https://csswizardry.com/2025/03/why-do-we-have-a-cache-control-request-header/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">csswizardry.com/2025/03/why-do</span><span class="invisible">-we-have-a-cache-control-request-header/</span></a></p><p><a href="https://mas.to/tags/caching" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>caching</span></a> <a href="https://mas.to/tags/httpheaders" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>httpheaders</span></a> <a href="https://mas.to/tags/http" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>http</span></a></p>
PHP Zen<p>Learn how caching can improve response times, reduce server load, and enhance user experience. Check out my carousel + full article on LinkedIn for all the details! 👇<br><a href="https://urlr.me/qexmCX" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">urlr.me/qexmCX</span><span class="invisible"></span></a></p><p><a href="https://phpc.social/tags/PHP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHP</span></a> <a href="https://phpc.social/tags/Caching" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Caching</span></a> <a href="https://phpc.social/tags/Performance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Performance</span></a> <a href="https://phpc.social/tags/WebDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebDev</span></a></p>
Alvin Ashcraft<p>Hello HybridCache! Streamlining Cache Management for <a class="hashtag" href="https://bsky.app/search?q=%23ASPNETCore" rel="nofollow noopener noreferrer" target="_blank">#ASPNETCore</a> Applications | by Claudia Regio. <a href="https://buff.ly/kjBRcQY" rel="nofollow noopener noreferrer" target="_blank">buff.ly/kjBRcQY</a> <a class="hashtag" href="https://bsky.app/search?q=%23webdev" rel="nofollow noopener noreferrer" target="_blank">#webdev</a> <a class="hashtag" href="https://bsky.app/search?q=%23dotnet" rel="nofollow noopener noreferrer" target="_blank">#dotnet</a> <a class="hashtag" href="https://bsky.app/search?q=%23caching" rel="nofollow noopener noreferrer" target="_blank">#caching</a><br><br><a href="https://ASP.NET" rel="nofollow noopener noreferrer" target="_blank">ASP.NET Core | Open-source web...</a></p>
Alvin Ashcraft 🐿️<p>Hello HybridCache! Streamlining Cache Management for <a href="https://hachyderm.io/tags/ASPNETCore" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ASPNETCore</span></a> Applications | by Claudia Regio.</p><p><a href="https://devblogs.microsoft.com/dotnet/hybrid-cache-is-now-ga/?hide_banner=true" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">devblogs.microsoft.com/dotnet/</span><span class="invisible">hybrid-cache-is-now-ga/?hide_banner=true</span></a></p><p><a href="https://hachyderm.io/tags/webdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>webdev</span></a> <a href="https://hachyderm.io/tags/dotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotnet</span></a> <a href="https://hachyderm.io/tags/caching" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>caching</span></a></p>
Honeybadger.io<p>New on the HB dev blog: </p><p>By leveraging a SQL database for caching, Solid Cache enables Rails applications to store a greater volume of data for extended periods, overcoming the limitations imposed by the cost and capacity of memory storage.</p><p>Read the article: <a href="https://www.honeybadger.io/blog/solid-cache/?utm_source=mastodon&amp;utm_medium=social" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">honeybadger.io/blog/solid-cach</span><span class="invisible">e/?utm_source=mastodon&amp;utm_medium=social</span></a> </p><p><a href="https://honeybadger.social/tags/Ruby" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Ruby</span></a> <a href="https://honeybadger.social/tags/RubyOnRails" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RubyOnRails</span></a> <a href="https://honeybadger.social/tags/SolidCache" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SolidCache</span></a> <a href="https://honeybadger.social/tags/SQL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SQL</span></a> <a href="https://honeybadger.social/tags/Caching" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Caching</span></a></p>
Inautilo<p><a href="https://mastodon.social/tags/Development" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Development</span></a> <a href="https://mastodon.social/tags/Guides" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Guides</span></a><br>What’s the ‘Cache-Control’ request header? · A header many developers are not aware of <a href="https://ilo.im/162ozq" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">ilo.im/162ozq</span><span class="invisible"></span></a></p><p>_____<br><a href="https://mastodon.social/tags/Caching" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Caching</span></a> <a href="https://mastodon.social/tags/HttpHeader" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HttpHeader</span></a> <a href="https://mastodon.social/tags/RealTime" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RealTime</span></a> <a href="https://mastodon.social/tags/OfflineFirst" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OfflineFirst</span></a> <a href="https://mastodon.social/tags/Browser" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Browser</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/WebDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebDev</span></a> <a href="https://mastodon.social/tags/Frontend" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Frontend</span></a></p>
InfoQ<p>Discover how <a href="https://techhub.social/tags/Netflix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Netflix</span></a> uses <a href="https://techhub.social/tags/EVCache" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>EVCache</span></a> to master the complexities of global replication. </p><p>Learn about the architecture, design principles, and innovative strategies behind their scalable success: <a href="https://bit.ly/3NqFdE4" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">bit.ly/3NqFdE4</span><span class="invisible"></span></a> </p><p><a href="https://techhub.social/tags/SoftwareArchitecture" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SoftwareArchitecture</span></a> <a href="https://techhub.social/tags/Caching" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Caching</span></a> <a href="https://techhub.social/tags/Memcached" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Memcached</span></a> <a href="https://techhub.social/tags/AWS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AWS</span></a> <a href="https://techhub.social/tags/Performance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Performance</span></a> <a href="https://techhub.social/tags/InfoQ" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>InfoQ</span></a> <a href="https://techhub.social/tags/ICYMI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ICYMI</span></a></p>
Menel<b>Updated Version of the apache http caching setup for snac, including proxy media</b><br><br>I already wrote about caching <a href="https://snikket.de/social/menel/p/1738788742.236526" rel="nofollow noopener noreferrer" target="_blank">here</a>.<br>Now I extended what I cache a bit.<br>This was because after enabling the option to <a href="https://comam.es/snac-doc/snac.8.html#proxy_media" rel="nofollow noopener noreferrer" target="_blank">proxy media</a>, I've seen access to the file paths /x/ and /y/ in addition to the path were snac stores the media that I include in my own posts ( /s/ ).<br>There are two locations to proxy media, depending if you requests the media via the mastodon api or via the web. (/x/ and /y/), oh and I added the nodeinfo2.0 path too, because I've noticed it was queried all the time by a lot of instances and it gives me pleasure to see something cached handed out in the access logs. 🙂 (I guess it is actually irrelevant for the system resources)<br>This is the updated setup:<br>Enable the relevant modules:<br><br><code>a2enmod expires cache cache_disk</code><br><br>Be sure "htcacheclean" is running to clean up the old disk cache. (under debian see /etc/default/apache-htcacheclean or else the relevant systemd service or whatever)<br>Then add this to the httpd Virtualhost config:<br><br><pre>&lt;LocationMatch "^/social/[^/]+/[xys]/|^/social/nodeinfo_2_0"&gt;<br>CacheEnable disk<br>Header set Cache-Control "max-age=86400, public" "expr=%{REQUEST_STATUS} == 200"<br>ExpiresActive On<br>ExpiresDefault "access plus 86400 seconds"<br>&lt;/LocationMatch&gt;<br></pre>This will use the disk cache to cache everything under the $username/s/, /x/ and /y/ paths, as well as for the <code>/nodeinfo_2_0</code> path, utilizing <code>mod_expires</code> to generate the appropriate cache headers (for lazy ones like me). In this case caching it for 1 day.<br>Further reading and all options are explained under <a href="https://httpd.apache.org/docs/2.4/caching.html" rel="nofollow noopener noreferrer" target="_blank">https://httpd.apache.org/docs/2.4/caching.html</a> (and ff)<br><br>The Header that I set here, on the condition of Status code 200, is needed for the path /y/, because snac set <code>no-cache</code> on that location and <code>mod_expires</code> will honor that if we don't override it. I set it to the same Cache-Control value as <code>mod_expires</code> would. (I use <code>mod_expires</code> because it will additionally calculate the date and put that in the <code>expires</code> header. (hence the name I guess 😀 )<br><br><a href="https://snikket.de/social?t=fediverse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Fediverse</a> <a href="https://snikket.de/social?t=hosting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Hosting</a> <a href="https://snikket.de/social?t=itnotes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#ITNotes</a> <a href="https://snikket.de/social?t=apache2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#apache2</a> <a href="https://snikket.de/social?t=httpd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#httpd</a> <a href="https://snikket.de/social?t=ownyourdata" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Ownyourdata</a> <a href="https://snikket.de/social?t=server" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Server</a> <a href="https://snikket.de/social?t=snac" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Snac</a> <a href="https://snikket.de/social?t=snac2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Snac2</a> <a href="https://snikket.de/social?t=tipsandtricks" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Tipsandtricks</a> <a href="https://snikket.de/social?t=tutorial" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Tutorial</a> <a href="https://snikket.de/social?t=debian" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Debian</a> <a href="https://snikket.de/social?t=caching" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#caching</a><br>:xmpp:<br>
Radio Azureus<p>Cache your Snac Proxied Media With Nginx</p><p>HowTo </p><p><a href="https://it-notes.dragas.net/2025/02/08/caching-snac-proxied-media-with-nginx/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">it-notes.dragas.net/2025/02/08</span><span class="invisible">/caching-snac-proxied-media-with-nginx/</span></a></p><p><a href="https://mastodon.social/tags/GRUB" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GRUB</span></a> <a href="https://mastodon.social/tags/bash" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bash</span></a> <a href="https://mastodon.social/tags/csh" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csh</span></a> <a href="https://mastodon.social/tags/ksh" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ksh</span></a> <a href="https://mastodon.social/tags/sh" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sh</span></a> <a href="https://mastodon.social/tags/snac" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>snac</span></a> <a href="https://mastodon.social/tags/multimedia" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>multimedia</span></a> <a href="https://mastodon.social/tags/caching" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>caching</span></a> <a href="https://mastodon.social/tags/POSIX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>POSIX</span></a></p>