Title: Javascript cached page detection
Last modified: November 24, 2017

---

# Javascript cached page detection

 *  [jomo](https://wordpress.org/support/users/jonathanmoorebcsorg/)
 * (@jonathanmoorebcsorg)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/javascript-cached-page-detection/)
 * Hi, is there a standard way to tell from javascript whether the current page 
   is a supercached page?
    For example if the page is served from cache, it might
   be desirable to do some ajax to refresh certain elements. However if the page
   is freshly generated, the additional ajax calls could be suppressed.

The topic ‘Javascript cached page detection’ is closed to new replies.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [jomo](https://wordpress.org/support/users/jonathanmoorebcsorg/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/javascript-cached-page-detection/)
 * Status: not resolved