Nabu Internet Adapter Cache HTTP Extra Hits
Posted: Sun Dec 21, 2025 10:15 pm
Using the Internet Adapter version 2025.02.07.00, I see that when I open a file that's a HTTP URL, it hits the web server twice on subsequent accesses, after it has downloaded the content (presumably once to see if the file exists via rn_fileSize(), and a second time for rn_fileOpen()). Happens every time that URL is opened, even if it's just a couple of seconds later. Can you cache HTTP content? Maybe have a setting for cache validity time in seconds.
- Alex
In case you are wondering what the web server headers look like, there's a date in the past and no expiry info:
- Alex
In case you are wondering what the web server headers look like, there's a date in the past and no expiry info:
Code: Select all
curl -v http://www.agmsmith.ca/NTHPONG/TITLE.LEVEL
* Host www.agmsmith.ca:80 was resolved.
* IPv6: (none)
* IPv4: 192.168.174.36
* Trying 192.168.174.36:80...
* Connected to www.agmsmith.ca (192.168.174.36) port 80
* using HTTP/1.x
> GET /NTHPONG/TITLE.LEVEL HTTP/1.1
> Host: www.agmsmith.ca
> User-Agent: curl/8.11.1
> Accept: */*
>
* Request completely sent off
< HTTP/1.1 200 OK
< Server: nginx/1.26.0
< Date: Sun, 21 Dec 2025 22:07:59 GMT
< Content-Type: application/octet-stream
< Content-Length: 442
< Last-Modified: Fri, 19 Dec 2025 01:09:17 GMT
< Connection: keep-alive
< Keep-Alive: timeout=5
< ETag: "6944a5bd-1ba"
< Accept-Ranges: bytes
<
# Load the Nth Pong Wars title screen, it's a full screen picture.
GameMode: Trivia
Music: ONECOLN1
ScreenFull: TITLESCREEN