Code Explainers
Code explainers tagged #conditional-requests
rust
use axum::{ extract::State, http::{header, HeaderMap, StatusCode}, response::{IntoResponse, Response},
Conditional GET caching in Axum
http-caching
conditional-requests
extractors
Intermediate
7 steps
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