Complete the code to set the Cache-Control header to prevent caching.
response.headers['Cache-Control'] = '[1]'
The no-cache directive tells browsers not to cache the response.
Complete the code to set Cache-Control header to cache the response for 1 hour.
response.headers['Cache-Control'] = '[1]'
The max-age=3600 directive tells the browser to cache the response for 3600 seconds (1 hour).
Fix the error in setting Cache-Control to allow caching only in private caches.
response.headers['Cache-Control'] = '[1]'
The private directive allows caching only in private caches like browsers, not shared caches.
Fill both blanks to set Cache-Control to cache for 30 minutes and require revalidation.
response.headers['Cache-Control'] = '[1], [2]'
max-age=1800 caches for 1800 seconds (30 minutes), and must-revalidate forces revalidation after expiration.
Fill all three blanks to set Cache-Control to no-store, no-cache, and private.
response.headers['Cache-Control'] = '[1], [2], [3]'
no-store disables storage, no-cache requires revalidation, and private limits caching to private caches.