11 ms·
OK, I'm actually wrong here. You still have to write headers to get it to go into the edge cache. So from the Python API for webapp2: self.response.cache_con
by nickbauman 11y ago
OK, I'm actually wrong here. You still have to write headers to get it to go into the edge cache. So from the Python API for webapp2:
self.response.cache_control = 'public'
self.response.cache_control.max_age = 300
Does the trick
- alooPotato 11y agoThat just sets the responses cache control headers. It doesn't put anything in the edge cache
- nickbauman 11y ago... the headers trigger storing into the edge cache.