How to check caching is working or not?

Open your site from an incognito window and open the network panel (Mac - Cmd + Opt + I, Window/Linux - F12 or Control+Shift+I) and reload your site. Now click on the first request (HTML page) and look for the response header.

If you see x-flying-press-cache: HIT, then your pages are served from cache.