Notings of Attention™
Acmlmboard 2 Released
Github/GIT | @acmlmboard
Chatting Places
Discord

Affiliates
Super Mario Bros. X | Kuribo64 | NeoRHDN
Views: 12,829,434
Main | FAQ | IRC chat | Memberlist | Active users | Latest posts | Stats | Ranks | Online users | Search
05-19-25 12:30 AM
Guest: Register | Login

0 users currently in AcmlmBoard II Software/Bug Report Forum

Main - AcmlmBoard II Software/Bug Report Forum - Suggestion: add header() directives regarding caching
Next newer thread | Next older thread


Arisotura
Posted on 04-06-15 08:36 PM Link | ID: 84235
Developer
pancakes
Level: 84


Posts: 744/1872
EXP: 5659429
Next: 2523

Since: 01-05-12
From: France

Last post: 42 days
Last view: 42 days
Title says it all.


Caching isn't a problem in most cases, but for example, when I use mobile internet, it goes through a proxy that caches shit aggressively. On these boards, it often causes stale pages to be returned.


There are header() directives that can fix that. Blargboard, AB2.064 and Jul have some.


header('Content-type: text/html; charset=utf-8');
header('Cache-control: no-cache, private');
header('X-Frame-Options: DENY');

The headers sent by AB2.064. The second line is the one about caching. First tells the browser that the output is UTF8, third prevents embedding the board in framesets/iframes.

____________________
Kuribo64 - melonDS

want some revolution in your coffee?

Next newer thread | Next older thread
Main - AcmlmBoard II Software/Bug Report Forum - Suggestion: add header() directives regarding caching


Acmlmboard v2.5.6 (06/11/2024)
© 2005-2025 Acmlm, Emuz, et al.

Page rendered in 0.411 seconds. (755KB of memory used)
MySQL - queries: 51, rows: 472/506, time: 0.391 seconds.