paladox commented on issue #7671:
URL: https://github.com/apache/trafficserver/issues/7671#issuecomment-815967111


   Looking at varnish this is what happens:
   
   Before its cached:
   
   ```
   curl https://meta.miraheze.org/wiki/Main_Page  -I
   HTTP/2 200 
   server: nginx
   date: Thu, 08 Apr 2021 16:28:24 GMT
   content-type: text/html; charset=UTF-8
   x-powered-by: PHP/7.3.27-1~deb10u1
   x-content-type-options: nosniff
   p3p: CP="This is not a P3P policy! See 
https://meta.miraheze.org/wiki/Special:CentralAutoLogin/P3P for more info."
   content-language: en
   vary: Accept-Encoding, Cookie, Authorization
   last-modified: Thu, 08 Apr 2021 15:56:14 GMT
   x-request-id: d6a1c73ab80cb72266a0dee6
   strict-transport-security: max-age=31536000; includeSubDomains; preload
   x-served-by: mw11.miraheze.org
   x-varnish: 43648151
   age: 0
   via: 1.1 varnish (Varnish/6.1)
   cache-control: private, s-maxage=0, max-age=0, must-revalidate
   x-cache: cp10 MISS (0)
   content-security-policy: default-src 'self' blob: data:  *.miraheze.org 
*.wikimedia.org *.wikipedia.org *.wikibooks.org *.wiktionary.org 
*.wikiquote.org *.wikisource.org *.wikiversity.org *.wikinews.org 
*.wikivoyage.org *.mediawiki.org mediawiki.org *.wikidata.org wikidata.org 
*.wmflabs.org *.google.com *.gstatic.com *.addthis.com *.youtube.com 
*.youtube-nocookie.com maxcdn.bootstrapcdn.com twitter.com 
*.creativecommons.org images.uncyc.org www.mikrodev.com *.reviservices.com 
*.twitter.com www.sciencedaily.com *.googleapis.com *.twimg.com discordapp.com 
*.openstreetmap.org *.freenode.net *.sorcery.net *.fontawesome.com 
*.a.wmflabs.org nenawiki.org *.cloudytheology.com i.imgur.com 
na.llnet.sims3store.cdn.ea.com cdn.discordapp.com m.media-amazon.com 
image.tmdb.org *.stripe.com *.twitch.tv *.fastly.net *.facebook.com 
*.shields.io *.bilibili.com *.163.com discord.com googleusercontent.com 
imgbox.com cdnjs.cloudflare.com cdn.jsdelivr.net reddit.com *.reddit.com 
redd.it *.redd.it reddit
 media.com *.redditmedia.com dropbox.com *.dropbox.com dropboxstatic.com 
*.dropboxstatic.com disqus.com *.disqus.com *.nicovideo.jp 
lh3.googleusercontent.com db.onlinewebfonts.com wikiapiary.com *.vimeo.com 
*.googleusercontent.com *.imgbox.com www.gnu.org www.desmos.com z.moatads.com 
www.recaptcha.net snap.berkeley.edu *.netease.com openlayers.org 
wikiplus-app.com minotar.net *.tile.openstreetmap.org live.staticflickr.com 
*.pixabay.com cdn.geogebra.org docs.blender.org 'unsafe-inline' 'unsafe-eval'; 
frame-ancestors 'self'  *.miraheze.org
   accept-ranges: bytes
   x-served-by: cp10.miraheze.org
   x-xss-protection: 1; mode=block
   x-frame-options: ALLOW-FROM static.miraheze.org
   ```
   
   
   After its cached:
   
   ```
   curl https://meta.miraheze.org/wiki/Main_Page  -I
   HTTP/2 200 
   server: nginx
   date: Thu, 08 Apr 2021 16:28:29 GMT
   content-type: text/html; charset=UTF-8
   x-powered-by: PHP/7.3.27-1~deb10u1
   x-content-type-options: nosniff
   p3p: CP="This is not a P3P policy! See 
https://meta.miraheze.org/wiki/Special:CentralAutoLogin/P3P for more info."
   content-language: en
   vary: Accept-Encoding, Cookie, Authorization
   last-modified: Thu, 08 Apr 2021 15:56:14 GMT
   x-request-id: d6a1c73ab80cb72266a0dee6
   strict-transport-security: max-age=31536000; includeSubDomains; preload
   x-served-by: mw11.miraheze.org
   x-varnish: 34522198 43648152
   age: 4
   via: 1.1 varnish (Varnish/6.1)
   cache-control: private, s-maxage=0, max-age=0, must-revalidate
   x-cache: cp10 HIT (3)
   content-security-policy: default-src 'self' blob: data:  *.miraheze.org 
*.wikimedia.org *.wikipedia.org *.wikibooks.org *.wiktionary.org 
*.wikiquote.org *.wikisource.org *.wikiversity.org *.wikinews.org 
*.wikivoyage.org *.mediawiki.org mediawiki.org *.wikidata.org wikidata.org 
*.wmflabs.org *.google.com *.gstatic.com *.addthis.com *.youtube.com 
*.youtube-nocookie.com maxcdn.bootstrapcdn.com twitter.com 
*.creativecommons.org images.uncyc.org www.mikrodev.com *.reviservices.com 
*.twitter.com www.sciencedaily.com *.googleapis.com *.twimg.com discordapp.com 
*.openstreetmap.org *.freenode.net *.sorcery.net *.fontawesome.com 
*.a.wmflabs.org nenawiki.org *.cloudytheology.com i.imgur.com 
na.llnet.sims3store.cdn.ea.com cdn.discordapp.com m.media-amazon.com 
image.tmdb.org *.stripe.com *.twitch.tv *.fastly.net *.facebook.com 
*.shields.io *.bilibili.com *.163.com discord.com googleusercontent.com 
imgbox.com cdnjs.cloudflare.com cdn.jsdelivr.net reddit.com *.reddit.com 
redd.it *.redd.it reddit
 media.com *.redditmedia.com dropbox.com *.dropbox.com dropboxstatic.com 
*.dropboxstatic.com disqus.com *.disqus.com *.nicovideo.jp 
lh3.googleusercontent.com db.onlinewebfonts.com wikiapiary.com *.vimeo.com 
*.googleusercontent.com *.imgbox.com www.gnu.org www.desmos.com z.moatads.com 
www.recaptcha.net snap.berkeley.edu *.netease.com openlayers.org 
wikiplus-app.com minotar.net *.tile.openstreetmap.org live.staticflickr.com 
*.pixabay.com cdn.geogebra.org docs.blender.org 'unsafe-inline' 'unsafe-eval'; 
frame-ancestors 'self'  *.miraheze.org
   accept-ranges: bytes
   x-served-by: cp10.miraheze.org
   x-xss-protection: 1; mode=block
   x-frame-options: ALLOW-FROM static.miraheze.org
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to