Title: Does this plugin inject non-static JS or CSS code?
Last modified: April 5, 2020

---

# Does this plugin inject non-static JS or CSS code?

 *  Resolved [audiowarrior](https://wordpress.org/support/users/zonwarrior/)
 * (@zonwarrior)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/does-this-plugin-inject-non-static-js-or-css-code/)
 * Hi Benjamin,
 * Hope you are doing well during this challenging time.
 * **Background: **
    I plan on using a plugin called Autoptimize. Autoptimize does
   not cache pages, it only optimizes JS, CSS, HTML, Google Fonts & Images. Overall,
   it caches the optimized JS/ CSS for re-use, but the page (HTML) is not cached.
 * **Question:**
    Does GeoIP Detection plugin inject non-static JS or CSS code inline
   in my page’s HTML? Just curious, because it may conflict with Autoptimize.
 * p.s. I use your **shortcode syntax** in my pages. For example: _Top 10 Pizzas
   in [geoip\_detect2 property=”mostSpecificSubdivision.name”]_
 * Thank you!

Viewing 1 replies (of 1 total)

 *  [Benjamin Pick](https://wordpress.org/support/users/benjamin4/)
 * (@benjamin4)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/does-this-plugin-inject-non-static-js-or-css-code/#post-12641561)
 * No, probably not in your case.
    It adds inline JS, but only if you use the AJAX
   option (which you probably don’t if you don’t have an HTML cache.) The shortcode
   is replaced by the live value. This means that the HTML cache of Autoptimize 
   will have a version of every location that any visitor may have – this limits
   its use of course 😉 The AJAX solution is made for that (keeping the HTML the
   same) but it doesn’t support these shortcodes yet.
    -  This reply was modified 6 years, 1 month ago by [Benjamin Pick](https://wordpress.org/support/users/benjamin4/).

Viewing 1 replies (of 1 total)

The topic ‘Does this plugin inject non-static JS or CSS code?’ is closed to new 
replies.

 * ![](https://ps.w.org/geoip-detect/assets/icon-256x256.jpg?rev=978998)
 * [Geolocation IP Detection](https://wordpress.org/plugins/geoip-detect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/geoip-detect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/geoip-detect/)
 * [Active Topics](https://wordpress.org/support/plugin/geoip-detect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/geoip-detect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/geoip-detect/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Benjamin Pick](https://wordpress.org/support/users/benjamin4/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/does-this-plugin-inject-non-static-js-or-css-code/#post-12641561)
 * Status: resolved