mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.6K
active users

#caching

0 posts0 participants0 posts today
Trusty<p>🌐 What is TTL Records(Time-to-Live)? ⏱️. Why is it crucial for efficient web performance? Dive into the world of DNS with this explaination of what TTL is, how it works in DNS records.<br><a href="https://dnsimple.social/tags/DNS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DNS</span></a> <a href="https://dnsimple.social/tags/TTL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TTL</span></a> <a href="https://dnsimple.social/tags/Networking" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Networking</span></a> <a href="https://dnsimple.social/tags/WebPerformance" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebPerformance</span></a> <a href="https://dnsimple.social/tags/TimeToLive" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TimeToLive</span></a> <a href="https://dnsimple.social/tags/Caching" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Caching</span></a><br>Full video here 👉 <a href="https://youtu.be/lZXu5ymxeks" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/lZXu5ymxeks</span><span class="invisible"></span></a></p>
Lukas R.<p>You should configure <a href="https://indieweb.social/tags/HTTP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTTP</span></a> <a href="https://indieweb.social/tags/caching" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>caching</span></a> for your <a href="https://indieweb.social/tags/API" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>API</span></a>, so you can reduce the number of requests, which increases performance and reduces resource usage. <span class="h-card" translate="no"><a href="https://mastodon.green/@Philsturgeon" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Philsturgeon</span></a></span> argues that designing for cacheability should be an integral part of <a href="https://indieweb.social/tags/APIDesign" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>APIDesign</span></a>: <a href="https://apisyouwonthate.com/blog/api-design-basics-cacheability/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">apisyouwonthate.com/blog/api-d</span><span class="invisible">esign-basics-cacheability/</span></a></p>
Tarnkappe.info<p>📬 Technitium DNS: Der Geheimtipp unter den Adblockern<br><a href="https://social.tchncs.de/tags/Datenschutz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Datenschutz</span></a> <a href="https://social.tchncs.de/tags/Test" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Test</span></a> <a href="https://social.tchncs.de/tags/AdblockListen" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AdblockListen</span></a> <a href="https://social.tchncs.de/tags/AlthaTechnology" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AlthaTechnology</span></a> <a href="https://social.tchncs.de/tags/Caching" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Caching</span></a> <a href="https://social.tchncs.de/tags/DNSServer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DNSServer</span></a> <a href="https://social.tchncs.de/tags/TechnitiumDNSServer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TechnitiumDNSServer</span></a> <a href="https://social.tchncs.de/tags/Trackingdienst" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Trackingdienst</span></a> <a href="https://sc.tarnkappe.info/b92216" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">sc.tarnkappe.info/b92216</span><span class="invisible"></span></a></p>
Frontend Dogma<p>Optimizing Time to First Byte (TTFB): 5 Key Strategies for Faster Load Times, by @designerly.bsky.social:</p><p><a href="https://frontenddogma.com/posts/2025/optimizing-time-to-first-byte-ttfb/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">frontenddogma.com/posts/2025/o</span><span class="invisible">ptimizing-time-to-first-byte-ttfb/</span></a></p><p><a href="https://mas.to/tags/guestposts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>guestposts</span></a> <a href="https://mas.to/tags/performance" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>performance</span></a> <a href="https://mas.to/tags/optimization" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>optimization</span></a> <a href="https://mas.to/tags/contentdelivery" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>contentdelivery</span></a> <a href="https://mas.to/tags/http" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>http</span></a> <a href="https://mas.to/tags/caching" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>caching</span></a> <a href="https://mas.to/tags/dns" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dns</span></a></p>
Roy Tanck<p>Wrote a short blog post about PHP's OPcache strings buffer and WordPress.</p><p><a href="https://roytanck.com/2025/05/15/wordpress-and-phps-opcache-strings-buffer/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">roytanck.com/2025/05/15/wordpr</span><span class="invisible">ess-and-phps-opcache-strings-buffer/</span></a></p><p><a href="https://mastodon.online/tags/WordPress" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WordPress</span></a> <a href="https://mastodon.online/tags/performance" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>performance</span></a> <a href="https://mastodon.online/tags/PHP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHP</span></a> <a href="https://mastodon.online/tags/caching" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>caching</span></a> <a href="https://mastodon.online/tags/PHPOPcache" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHPOPcache</span></a></p>
Frontend Dogma<p>What Is Semantic Caching?, by @doerrfeldbill.bsky.social (<span class="h-card" translate="no"><a href="https://hachyderm.io/@TheNewStack" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>TheNewStack</span></a></span>):</p><p><a href="https://thenewstack.io/what-is-semantic-caching/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">thenewstack.io/what-is-semanti</span><span class="invisible">c-caching/</span></a></p><p><a href="https://mas.to/tags/ai" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ai</span></a> <a href="https://mas.to/tags/performance" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>performance</span></a> <a href="https://mas.to/tags/semantics" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>semantics</span></a> <a href="https://mas.to/tags/caching" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>caching</span></a> <a href="https://mas.to/tags/concepts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>concepts</span></a></p>
Inautilo<p><a href="https://mastodon.social/tags/Development" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Development</span></a> <a href="https://mastodon.social/tags/Releases" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Releases</span></a><br>Redis is open source again · Redis 8 is the first version with the new license <a href="https://ilo.im/163me5" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">ilo.im/163me5</span><span class="invisible"></span></a></p><p>_____<br><a href="https://mastodon.social/tags/Redis" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Redis</span></a> <a href="https://mastodon.social/tags/OpenSource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenSource</span></a> <a href="https://mastodon.social/tags/Caching" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Caching</span></a> <a href="https://mastodon.social/tags/DataStorage" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DataStorage</span></a> <a href="https://mastodon.social/tags/Database" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Database</span></a> <a href="https://mastodon.social/tags/NoSQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NoSQL</span></a> <a href="https://mastodon.social/tags/WebDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDev</span></a> <a href="https://mastodon.social/tags/Backend" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Backend</span></a></p>
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" 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" target="_blank">#<span>DNS</span></a> <a href="https://dnsimple.social/tags/TTL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TTL</span></a> <a href="https://dnsimple.social/tags/Networking" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Networking</span></a> <a href="https://dnsimple.social/tags/WebPerformance" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebPerformance</span></a> <a href="https://dnsimple.social/tags/TimeToLive" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TimeToLive</span></a> <a href="https://dnsimple.social/tags/Caching" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Caching</span></a> <a href="https://dnsimple.social/tags/Internet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Internet</span></a> <a href="https://dnsimple.social/tags/WebDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDev</span></a> <a href="https://dnsimple.social/tags/Tutorial" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Tutorial</span></a> <a href="https://dnsimple.social/tags/Explained" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Explained</span></a> <a href="https://dnsimple.social/tags/Computers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Computers</span></a> <a href="https://dnsimple.social/tags/technology" class="mention hashtag" rel="nofollow noopener" 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" target="_blank">#<span>WebHosting</span></a> <a href="https://tekton.network/tags/SelfHosted" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SelfHosted</span></a> <a href="https://tekton.network/tags/WordPress" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WordPress</span></a> <a href="https://tekton.network/tags/Caching" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Caching</span></a> <a href="https://tekton.network/tags/Cloudflare" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Cloudflare</span></a></p><p><a href="https://eric.mann.blog/blogs-and-nucs-and-caching-oh-my/" rel="nofollow noopener" 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" 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" target="_blank">#<span>laravel</span></a> <a href="https://mas.to/tags/caching" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>caching</span></a> <a href="https://mas.to/tags/memoization" class="mention hashtag" rel="nofollow noopener" 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" 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" target="_blank">#<span>litespeed</span></a> <a href="https://mastodon.social/tags/WordPress" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WordPress</span></a> <a href="https://mastodon.social/tags/caching" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>caching</span></a></p>
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" 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" target="_blank">#<span>dotnet</span></a> <a href="https://techhub.social/tags/aspnetcore" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>aspnetcore</span></a> <a href="https://techhub.social/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a> <a href="https://techhub.social/tags/caching" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>caching</span></a></p>
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" 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" 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" target="_blank">#<span>caching</span></a> <a href="https://mas.to/tags/httpheaders" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>httpheaders</span></a> <a href="https://mas.to/tags/http" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>http</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" target="_blank">#ASPNETCore</a> Applications | by Claudia Regio. <a href="https://buff.ly/kjBRcQY" rel="nofollow noopener" target="_blank">buff.ly/kjBRcQY</a> <a class="hashtag" href="https://bsky.app/search?q=%23webdev" rel="nofollow noopener" target="_blank">#webdev</a> <a class="hashtag" href="https://bsky.app/search?q=%23dotnet" rel="nofollow noopener" target="_blank">#dotnet</a> <a class="hashtag" href="https://bsky.app/search?q=%23caching" rel="nofollow noopener" target="_blank">#caching</a><br><br><a href="https://ASP.NET" rel="nofollow noopener" 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" 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" 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" target="_blank">#<span>webdev</span></a> <a href="https://hachyderm.io/tags/dotnet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotnet</span></a> <a href="https://hachyderm.io/tags/caching" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>caching</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" 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" target="_blank">#<span>Caching</span></a> <a href="https://infosec.exchange/tags/CacheControl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CacheControl</span></a> <a href="https://infosec.exchange/tags/WebPerformance" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebPerformance</span></a> <a href="https://infosec.exchange/tags/WebSecurity" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebSecurity</span></a> <a href="https://infosec.exchange/tags/HTTPHeaders" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTTPHeaders</span></a> <a href="https://infosec.exchange/tags/Cybersecurity" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Cybersecurity</span></a> <a href="https://infosec.exchange/tags/DeveloperGuide" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DeveloperGuide</span></a> <a href="https://infosec.exchange/tags/HTTP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTTP</span></a></p>
Inautilo<p><a href="https://mastodon.social/tags/Development" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Development</span></a> <a href="https://mastodon.social/tags/Guides" class="mention hashtag" rel="nofollow noopener" 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" 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" target="_blank">#<span>Caching</span></a> <a href="https://mastodon.social/tags/HttpHeader" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HttpHeader</span></a> <a href="https://mastodon.social/tags/RealTime" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RealTime</span></a> <a href="https://mastodon.social/tags/OfflineFirst" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OfflineFirst</span></a> <a href="https://mastodon.social/tags/Browser" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Browser</span></a> <a href="https://mastodon.social/tags/WebPerf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebPerf</span></a> <a href="https://mastodon.social/tags/WebDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDev</span></a> <a href="https://mastodon.social/tags/Frontend" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Frontend</span></a></p>
InfoQ<p>Discover how <a href="https://techhub.social/tags/Netflix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Netflix</span></a> uses <a href="https://techhub.social/tags/EVCache" class="mention hashtag" rel="nofollow noopener" 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" 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" target="_blank">#<span>SoftwareArchitecture</span></a> <a href="https://techhub.social/tags/Caching" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Caching</span></a> <a href="https://techhub.social/tags/Memcached" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Memcached</span></a> <a href="https://techhub.social/tags/AWS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AWS</span></a> <a href="https://techhub.social/tags/Performance" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Performance</span></a> <a href="https://techhub.social/tags/InfoQ" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>InfoQ</span></a> <a href="https://techhub.social/tags/ICYMI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ICYMI</span></a></p>
Menel :xmpp:<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" target="_blank">here</a><br>Now I extended what I cache a bit.<br>This was because after enabling Option to <a href="https://comam.es/snac-doc/snac.8.html#proxy_media" rel="nofollow noopener" 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<i>api or via the web. (/x/ and /y/), oh and I added the nodeinfo</i>2 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 actaully 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 old disk cache. (under debian see /etc/default/apache-htcacheclean or else the relevant systemd service or whatever)<br>Then add to the snac 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 /s/, /x/ and /y/ Path, as well as for /$username/nodeinfo<i>2</i>0, utilizing the mod_expires 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 explained under <a href="https://httpd.apache.org/docs/2.4/caching.html" rel="nofollow noopener" 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 defaults to set <code>no-cache</code> on that location and the mod<i>expires will honor that if we don't override it. I set it to the same Cache-Control value as mod</i>expores woud. (mod_expires 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" target="_blank">#Fediverse</a> <a href="https://snikket.de/social?t=hosting" class="mention hashtag" rel="nofollow noopener" target="_blank">#Hosting</a> <a href="https://snikket.de/social?t=itnotes" class="mention hashtag" rel="nofollow noopener" target="_blank">#ITNotes</a> <a href="https://snikket.de/social?t=apache2" class="mention hashtag" rel="nofollow noopener" target="_blank">#apache2</a> <a href="https://snikket.de/social?t=httpd" class="mention hashtag" rel="nofollow noopener" target="_blank">#httpd</a> <a href="https://snikket.de/social?t=ownyourdata" class="mention hashtag" rel="nofollow noopener" target="_blank">#Ownyourdata</a> <a href="https://snikket.de/social?t=server" class="mention hashtag" rel="nofollow noopener" target="_blank">#Server</a> <a href="https://snikket.de/social?t=snac" class="mention hashtag" rel="nofollow noopener" target="_blank">#Snac</a> <a href="https://snikket.de/social?t=snac2" class="mention hashtag" rel="nofollow noopener" target="_blank">#Snac2</a> <a href="https://snikket.de/social?t=tipsandtricks" class="mention hashtag" rel="nofollow noopener" target="_blank">#Tipsandtricks</a> <a href="https://snikket.de/social?t=tutorial" class="mention hashtag" rel="nofollow noopener" target="_blank">#Tutorial</a> <a href="https://snikket.de/social?t=debian" class="mention hashtag" rel="nofollow noopener" target="_blank">#Debian</a> <a href="https://snikket.de/social?t=caching" class="mention hashtag" rel="nofollow noopener" target="_blank">#caching</a><br>:xmpp:<br><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" 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" target="_blank">#<span>GRUB</span></a> <a href="https://mastodon.social/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a> <a href="https://mastodon.social/tags/csh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>csh</span></a> <a href="https://mastodon.social/tags/ksh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ksh</span></a> <a href="https://mastodon.social/tags/sh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sh</span></a> <a href="https://mastodon.social/tags/snac" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>snac</span></a> <a href="https://mastodon.social/tags/multimedia" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>multimedia</span></a> <a href="https://mastodon.social/tags/caching" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>caching</span></a> <a href="https://mastodon.social/tags/POSIX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>POSIX</span></a></p>