mirror of https://github.com/interlegis/sapl.git
Browse Source
MateriaLegislativaCrud.DetailView and SessaoCrud.DetailView are the two highest-traffic public views not yet covered by anonymous page caching. Both are read-only for anonymous visitors, making them safe cache targets. - MateriaLegislativaCrud.DetailView: 300s TTL (PAGE_CACHE_TTL_DETAIL) - SessaoCrud.DetailView: 120s TTL (PAGE_CACHE_TTL_LIST — sessions update more frequently during active legislative sittings) NormaCrud.DetailView intentionally left uncached: it writes NormaEstatisticas on every access, and caching would suppress per-visit statistics for anonymous users. Also includes the RATELIMIT_DRY_RUN=False docker-compose.yaml change from the previous session (rate limiting now enforced in docker-compose). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>rate-limiter-2026
3 changed files with 14 additions and 2 deletions
Loading…
Reference in new issue