Code Explainers
Code explainers tagged #etag
php
<?php namespace App\Http\Middleware;
ETag caching and gzip in Laravel middleware
middleware
http-caching
etag
Intermediate
8 steps
go
func GetArticle(c *gin.Context) { id := c.Param("id") article, err := articleRepo.FindByID(c.Request.Context(), id)
Conditional GET with ETags in Gin
http-caching
etag
conditional-requests
Intermediate
7 steps
rust
use axum::{ extract::{Path, State}, http::{header, HeaderMap, StatusCode}, response::{IntoResponse, Response},
Optimistic concurrency with ETags in Axum
optimistic-concurrency
etag
http-headers
Intermediate
8 steps