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

Affiliates
Super Mario Bros. X | Kuribo64 | NeoRHDN
Views: 11,030,476
Main | FAQ | IRC chat | Memberlist | Active users | Latest posts | Stats | Ranks | Online users | Search
11-21-24 11:51 AM
Guest: Register | Login

0 users currently in AcmlmBoard II Software/Bug Report Forum | 3 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, in Link | ID: 84235
Developer
pancakes
Level: 84


Posts: 744/1870
EXP: 5546094
Next: 115858

Since: 01-05-12
From: France

Last post: 37 days
Last view: 37 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-2024 Acmlm, Emuz, et al.

Page rendered in 3.272 seconds. (755KB of memory used)
MySQL - queries: 55, rows: 479/512, time: 3.267 seconds.