Title: youssef2016's Replies | WordPress.org

---

# youssef2016

  [  ](https://wordpress.org/support/users/youssef2016/)

 *   [Profile](https://wordpress.org/support/users/youssef2016/)
 *   [Topics Started](https://wordpress.org/support/users/youssef2016/topics/)
 *   [Replies Created](https://wordpress.org/support/users/youssef2016/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/youssef2016/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/youssef2016/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/youssef2016/engagements/)
 *   [Favorites](https://wordpress.org/support/users/youssef2016/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Request to Add Edge Side Includes (ESI) Feature in LiteSpeed Cache Free Version](https://wordpress.org/support/topic/request-to-add-edge-side-includes-esi-feature-in-litespeed-cache-free-version/)
 *  Thread Starter [youssef2016](https://wordpress.org/support/users/youssef2016/)
 * (@youssef2016)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/request-to-add-edge-side-includes-esi-feature-in-litespeed-cache-free-version/#post-18398356)
 * Hello,
 * Thanks for your reply,
 * I know but it requires litespeed enterprise webserver to make it work, but with
   openlitespeed not working.
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] wp_is_mobile() Problem](https://wordpress.org/support/topic/wp_is_mobile-problem/)
 *  Thread Starter [youssef2016](https://wordpress.org/support/users/youssef2016/)
 * (@youssef2016)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/wp_is_mobile-problem/#post-17914832)
 *     ```wp-block-code
       <? if( wp_is_mobile() ) { ?><script src="/Assets/js/mobile.js?v=1.0"></script><? } else { ?><script src="/Assets/js/desktop.js?v=1.0"></script><? } ?>
       ```
   
 * This code is in header.php file, and it used to display separate js file for 
   mobile & desktop, when I change ?v=1.0 to any version like 1.1 or 1.5, the first
   access on mobile gives mobile.js and cache hit then on refresh page multiple 
   times it gives desktop.js on mobile, The problem occurs on version (6.3) but 
   if I go back to (6.2.0.1) the problem went away.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] wp_is_mobile() Problem](https://wordpress.org/support/topic/wp_is_mobile-problem/)
 *  Thread Starter [youssef2016](https://wordpress.org/support/users/youssef2016/)
 * (@youssef2016)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/wp_is_mobile-problem/#post-17914702)
 * No, but if I changed the version ?v=1.0 then purge all, first access on mobile
   gives the correct file
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] wp_is_mobile() Problem](https://wordpress.org/support/topic/wp_is_mobile-problem/)
 *  Thread Starter [youssef2016](https://wordpress.org/support/users/youssef2016/)
 * (@youssef2016)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/wp_is_mobile-problem/#post-17914630)
 * Yes, it gives the correct js file
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] wp_is_mobile() Problem](https://wordpress.org/support/topic/wp_is_mobile-problem/)
 *  Thread Starter [youssef2016](https://wordpress.org/support/users/youssef2016/)
 * (@youssef2016)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/wp_is_mobile-problem/#post-17914617)
 *     ```wp-block-code
       <? if( wp_is_mobile() ) { ?><script src="/Assets/js/mobile.js?v=1.0"></script><? } else { ?><script src="/Assets/js/desktop.js?v=1.0"></script><? } ?>
       ```
   
 * I use it like this example, and plugin give me desktop.js on mobile.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] wp_is_mobile() Problem](https://wordpress.org/support/topic/wp_is_mobile-problem/)
 *  Thread Starter [youssef2016](https://wordpress.org/support/users/youssef2016/)
 * (@youssef2016)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/wp_is_mobile-problem/#post-17909697)
 * Report number: **IVVFEGKK**
 * Report date: **07/24/2024 11:22:27**

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