Title: Behavior with Caching Plugin? / JavaScript inline in Footer?
Last modified: August 30, 2016

---

# Behavior with Caching Plugin? / JavaScript inline in Footer?

 *  Resolved [jackennils](https://wordpress.org/support/users/jackennilsen/)
 * (@jackennilsen)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/behavior-with-caching-plugin-javascript-inline-in-footer/)
 * Hello there,
 * Thanks for this wonderful plugin. I really like its simplicity.
    I have two questions/
   requests.
 * 1) I wonder what will happen if someone is using a caching plugin? Will the numbers
   stay the same until the cache is flushed for each post/page or will the numbers
   update?
 * If they do stay the same, could you please add this functionality? I bet many
   people are using caching plugins, so always fresh share numbers (maybe by using
   some AJAX) would be highly appreciated.
 * 2) Since the JS file is pretty small, could you add an option in the settings
   to add it inline to the page footer? Of course, you can achieve the same by disabling
   the JS in the settings and putting it in the footer.php by hand, but maybe this
   would be a handy option.
 * Anyway, keep up the good work and thanks for considering my thoughts.
 * All the best
    Nils
 * [https://wordpress.org/plugins/naked-social-share/](https://wordpress.org/plugins/naked-social-share/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [jackennils](https://wordpress.org/support/users/jackennilsen/)
 * (@jackennilsen)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/behavior-with-caching-plugin-javascript-inline-in-footer/#post-6436001)
 * By the way, I created a German translation for the plugin. Maybe you want to 
   include it in future releases:
    [https://drive.google.com/file/d/0BwcveEgtn7NsWWFhMWRvWFhtaHM/view?usp=sharing](https://drive.google.com/file/d/0BwcveEgtn7NsWWFhMWRvWFhtaHM/view?usp=sharing)
 *  Plugin Author [Ashley](https://wordpress.org/support/users/nosegraze/)
 * (@nosegraze)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/behavior-with-caching-plugin-javascript-inline-in-footer/#post-6436169)
 * Hiya!
 * Thanks so much for your comments. I will for sure add that translation – thanks
   a lot.
 * As for your questions:
 * 1) Currently the numbers are not loaded with ajax. I can look into that, but 
   it might be a little while as I have a holiday coming up, but I’ll add this to
   my to-do list for when I have time.
 * 2) I’ll look into adding an option for that. But as you said, it would also be
   quite easy to just add it to your theme file yourself. 🙂 If you need some assistance
   with doing that, let me know and I can do my best to direct you.
 *  Thread Starter [jackennils](https://wordpress.org/support/users/jackennilsen/)
 * (@jackennilsen)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/behavior-with-caching-plugin-javascript-inline-in-footer/#post-6436170)
 * Hey!
 * Thanks for your quick response.
 * 1) Would be great if you could look into the AJAX implementation as this could
   really be a great feature for many users. But no worries, take your time and 
   especially enjoy your holiday.
 * By the way, I just saw that the caching time is set to 7200 seconds, which is
   2 hours, not 3 as described. But that’s not really an issue. 😉
 * 2) Thanks, but I already did that. 🙂
 *  Plugin Author [Ashley](https://wordpress.org/support/users/nosegraze/)
 * (@nosegraze)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/behavior-with-caching-plugin-javascript-inline-in-footer/#post-6436171)
 * Thanks for pointing out the timing thing – probably a typo that happened at one
   point or when I changed my mind about the timing, haha. I’ll adjust that.
 *  Thread Starter [jackennils](https://wordpress.org/support/users/jackennilsen/)
 * (@jackennilsen)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/behavior-with-caching-plugin-javascript-inline-in-footer/#post-6436173)
 * No prob. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Behavior with Caching Plugin? / JavaScript inline in Footer?’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/naked-social-share.svg)
 * [Naked Social Share](https://wordpress.org/plugins/naked-social-share/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/naked-social-share/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/naked-social-share/)
 * [Active Topics](https://wordpress.org/support/plugin/naked-social-share/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/naked-social-share/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/naked-social-share/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [jackennils](https://wordpress.org/support/users/jackennilsen/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/behavior-with-caching-plugin-javascript-inline-in-footer/#post-6436173)
 * Status: resolved