Ticket #296 (new Feature Request)
hotspot_status.php should cache XML / RSS by default
| Reported by: | fproulx | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Auth server, Feature request | Version: | |
| Keywords: | Cc: |
Description
The XML / RSS generation is pretty costly and is called from many places (portal, map...).
hotspot_status.php should cache the XML document in the db. A configurable cache validity life should be added. By default it could be 5 / 10 minutes life. It should be possible with a parameter to force refresh (hotspots_status.php?force_refresh=true) so that admin people could still use the map as a "realtime" feedback of the network status. Also, the PHP script should return proper HTTP headers when the document did not change (HTTP 304 / Not modified) so that we can benefit from client side caching....
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
