Title: [Plugin: WP-PostViews] Ajax Call
Last modified: August 20, 2016

---

# [Plugin: WP-PostViews] Ajax Call

 *  [coldlamper](https://wordpress.org/support/users/coldlamper/)
 * (@coldlamper)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-postviews-ajax-call/)
 * Great plugin! But what is the reasoning behind the ajax call:
 * jQuery.ajax({type:’GET’,url:'”.plugins_url(‘wp-postviews/wp-postviews.php’).”‘,
   data:’postviews_id=”.$id.”‘,cache:false});
 * ?
 * Why don’t you just update the post_meta there?
 * Thanks,
    Brian
 * [http://wordpress.org/extend/plugins/wp-postviews/](http://wordpress.org/extend/plugins/wp-postviews/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [coldlamper](https://wordpress.org/support/users/coldlamper/)
 * (@coldlamper)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-postviews-ajax-call/#post-2657865)
 * Actually I see what your doing. If it is CACHED that php never gets called right?

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WP-PostViews] Ajax Call’ is closed to new replies.

 * ![](https://ps.w.org/wp-postviews/assets/icon.svg?rev=978002)
 * [WP-PostViews](https://wordpress.org/plugins/wp-postviews/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-postviews/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-postviews/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-postviews/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-postviews/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-postviews/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [coldlamper](https://wordpress.org/support/users/coldlamper/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-postviews-ajax-call/#post-2657865)
 * Status: not resolved