19 Jan
2011
19 Jan
'11
11:20 a.m.
Anyone here have any success adding caching headers to output of Dancer? I've tried using header (as stated in my previous mail), but that only works with the output of TT, not with JSON output. It should be trivial, but somehow the headers are being deleted before the (JSON) page is sent. Nick Hibma AnyWi Technologies P.S.: Rationale: I do data viewing through a javascript app and it relies on caching in the browser of the paged datasets for performance. At the moment I can see that that pages are fetched from the database all the time, which won't work with 25M entries over 2 months 2 ships (will be 1 year over 20 ships soon).