norden.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Moin! Dies ist die Mastodon-Instanz für Nordlichter, Schnacker und alles dazwischen. Folge dem Leuchtturm.

Administered by:

Server stats:

3.4K
active users

#Caching

0 posts0 participants0 posts today

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:

Cache-Control: public, max-age=3600  
ETag: "123-a"

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?

#http#caching#etag

New on the HB dev blog:

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.

Read the article: honeybadger.io/blog/solid-cach

Honeybadger Developer BlogHow to use Solid Cache in RailsDive into this article to uncover how the database-backed Solid Cache in Rails can surprisingly outperform traditional memory-based caches.

Although frequently misunderstood, the HTTP Cache-Control header is crucial because it specifies caching mechanisms within requests and responses.  In its typical format, it reveals details as to how resources are stored, the location of the resource and the maximum age before expiring…

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: pentestpartners.com/security-b

«#Joblib is a set of tools to provide lightweight pipelining in #Python In particular:

Joblib is optimized to be fast and robust on large data in particular and has specific optimizations for #numpy arrays. It is BSD-licensed.»

joblib.readthedocs.io/en/stabl

joblib.readthedocs.ioJoblib: running Python functions as pipeline jobs — joblib 1.4.2 documentation

Building Custom Laravel Packages: From Basics to Advanced Features 🔧

🎯 #Laravel package development walkthrough shows implementation of method #caching using #PHP attributes and #composer initialization

🧪 Emphasizes #TDD approach using #Orchestra Testbench and #PestPHP for robust package testing

⚡ Covers essential concepts including service providers, dependency injection, and #caching implementation with practical examples

🔄 Demonstrates workflow optimization using local repository linking instead of direct deployment to #GitHub or #Packagist

🛠️ Includes setup of package structure, namespace configuration, and integration of facades and console commands

📚 Features comprehensive guide to #autoloading and package auto-discovery for seamless integration

Source: youtu.be/QsA5mdzKXLA?si=tEfLmq

youtu.be- YouTubeEnjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.