Retrieve page timing via curl

This is useful for seeing how long a page takes to render, to get a clue if the page is cached or not.

curl -sk -o /dev/null -D - --resolve [DOMAIN]:443:127.0.0.1 [URL] -w "time=%{time_total}s\n" | grep -iE "ktwp-page-cache|time="

Comments

No comments yet. Why don’t you start the discussion?

    Leave a Reply