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

Affiliates
Super Mario Bros. X | Kuribo64
Views: 8,981,968
Main | FAQ | IRC chat | Memberlist | Active users | Latest posts | Stats | Ranks | Online users | Search
04-16-24 05:37 PM
Guest: Register | Login

0 users currently in AcmlmBoard II Software/Bug Report Forum | 2 bots

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: 83


Posts: 744/1868
EXP: 5406907
Next: 25314

Since: 01-05-12
From: France

Last post: 673 days
Last view: 212 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.5 (10/04/2020)
© 2005-2024 Acmlm, Emuz, et al.

Page rendered in 0.032 seconds. (754KB of memory used)
MySQL - queries: 51, rows: 473/506, time: 0.028 seconds.