Caching Logs
- Last Updated: December 11, 2024
- 1 minute read
- LoadMaster
- LoadMaster LTSF
- Documentation
2022-05-19T09:46:20+00:00 lb100 kernel: L7: ffff88806f182cd0: Accept on 10.2.122.71:80 from 10.0.37.195:53148 (0)2022-05-19T09:46:20+00:00 lb100 kernel: L7: ffff88806f182cd0: Parse_http_header2022-05-19T09:46:20+00:00 lb100 kernel: L7: ffff88806f182cd0: User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.02022-05-19T09:46:20+00:00 lb100 kernel: L7: ffff88806f182cd0: Parse_http_header: finished2022-05-19T09:46:20+00:00 lb100 kernel: L7: ffff88806f182cd0: request: GET /test99.html2022-05-19T09:46:20+00:00 lb100 kernel: L7: ffff88806f182cd0: RS 10.2.122.8:80 aconns 0 refcnt 2 weight 10002022-05-19T09:46:20+00:00 lb100 kernel: L7: Cache-control:Above is an example of L7 debug logs with caching and compression.
If the cache-control header is blank, the LoadMaster can start caching.
If the cache-control header has the following data (or if the Pragma header is set to no-cache) then the LoadMaster will not send a response from the cache:
-
no-cache
-
no-store
-
must-revalidate
-
proxy-revalidate
-
max-age
2022-05-19T09:46:20+00:00 lb100 kernel: L7: In cache flush 0The above line means that a stale cache is being flushed. This happens roughly every 15 minutes. If the line says cache flush 0 it is for a specific Virtual Service. If the line says cache flush 1 is clears all the cache (this is not normally seen in a production setting).
2022-05-19T09:46:20+00:00 lb100 kernel: L7: ffff88806f182cd0: cache_found '/test99.html' 0The above line shows a URL that is being requested - if it is followed by a 0 it means it is a new cache record.