[Skip to main content](#vessel-content)

#   Optimise page speed -&gt; load HikaShop css and js files only on shop pages

##

- **[smart web](/forum/user/52782-smart-web "View smart web's Profile")**
- [![smart web's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/52782-smart-web "View smart web's Profile") Topic Author
- [ Offline](/forum/user/52782-smart-web)

Less More

- Posts: 62
- Thank you received: 10
-
-

6 months 2 weeks ago [\#371636](#371636) by [smart web](/forum/user/52782-smart-web "View smart web's Profile")  *[Optimise page speed -&gt; load HikaShop css and js files only on shop pages](/forum/4-how-to/910471-optimise-page-speed-load-hikashop-css-and-js-files-only-on-shop-pages#371636 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 6.1.0 -- PHP version -- : 8.3.30  Hi  I need to optimise a client’s Joomla 6.1 website using HikaShop 6.4.1. I’ve noticed that the following files are also being loaded on pages where no HikaShop element is present:    domain.com/media/com&#95;hikashop/css/hikashop.css?v=6412604221935    domain.com/media/com&#95;hikashop/css/style&#95;custom.css?t=1772724241    domain.com/media/com&#95;hikashop/css/notify....css?v=6412604221935    domain.com/media/com&#95;hikashop/js/hikashop.js?v=6412604221935    domain.com/media/com&#95;hikashop/js/notify.min.js?v=6412604221935    domain.com/plugins/hikashop/cartnotify/media/notify.js  Is it possible to load these files exclusively on the shop pages in order to improve the loading time of the other pages?  Regards Stef")* was created by *[smart web](/forum/user/52782-smart-web "View smart web's Profile")*

-- HikaShop version -- : 6.4.1
-- Joomla version -- : 6.1.0
-- PHP version -- : 8.3.30

Hi

I need to optimise a client’s Joomla 6.1 website using HikaShop 6.4.1. I’ve noticed that the following files are also being loaded on pages where no HikaShop element is present:

[ domain.com/media/com\_hikashop/css/hikashop.css?v=6412604221935](https://domain.com/media/com_hikashop/css/hikashop.css?v=6412604221935)
[ domain.com/media/com\_hikashop/css/style\_custom.css?t=1772724241](https://domain.com/media/com_hikashop/css/style_custom.css?t=1772724241)
[ domain.com/media/com\_hikashop/css/notify....css?v=6412604221935](https://domain.com/media/com_hikashop/css/notify-metro.css?v=6412604221935)
[ domain.com/media/com\_hikashop/js/hikashop.js?v=6412604221935](https://domain.com/media/com_hikashop/js/hikashop.js?v=6412604221935)
[ domain.com/media/com\_hikashop/js/notify.min.js?v=6412604221935](https://domain.com/media/com_hikashop/js/notify.min.js?v=6412604221935)
[ domain.com/plugins/hikashop/cartnotify/media/notify.js](https://domain.com/plugins/hikashop/cartnotify/media/notify.js)

Is it possible to load these files exclusively on the shop pages in order to improve the loading time of the other pages?

Regards
Stef

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzkxMDQ3MS1vcHRpbWlzZS1wYWdlLXNwZWVkLWxvYWQtaGlrYXNob3AtY3NzLWFuZC1qcy1maWxlcy1vbmx5LW9uLXNob3AtcGFnZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

6 months 2 weeks ago [\#371638](#371638) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Optimise page speed -&gt; load HikaShop css and js files only on shop pages](/forum/4-how-to/910471-optimise-page-speed-load-hikashop-css-and-js-files-only-on-shop-pages#371638 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 6.1.0 -- PHP version -- : 8.3.30  Hi  I need to optimise a client’s Joomla 6.1 website using HikaShop 6.4.1. I’ve noticed that the following files are also being loaded on pages where no HikaShop element is present:    domain.com/media/com&#95;hikashop/css/hikashop.css?v=6412604221935    domain.com/media/com&#95;hikashop/css/style&#95;custom.css?t=1772724241    domain.com/media/com&#95;hikashop/css/notify....css?v=6412604221935    domain.com/media/com&#95;hikashop/js/hikashop.js?v=6412604221935    domain.com/media/com&#95;hikashop/js/notify.min.js?v=6412604221935    domain.com/plugins/hikashop/cartnotify/media/notify.js  Is it possible to load these files exclusively on the shop pages in order to improve the loading time of the other pages?  Regards Stef")*

Hi,

Yes. You can edit the HikaShop User Synchronization plugin settings via the Joomla plugins manager and turn off the "Load HikaShop on all pages" setting.

Note however that it shouldn't change much regarding loading time. The problem is probably elsewhere.

Also, this has the drawback that the HikaShop content tags won't work properly on non HikaShop pages:
[ www.hikashop.com/support/documentation/1...-product-insert.html](https://www.hikashop.com/support/documentation/137-hikashop-product-insert.html)
(normal since content tags can't be replaced by HikaShop if HikaShop is not loaded)

Note also that even if the page is not a "HikaShop page", as long as you have the cart module or a products listing module or the currency switch module displayed on the page, HikaShop will be loaded since it is necessary to display these.

The following user(s) said Thank You: [smart web](/forum/user/52782-smart-web "View smart web's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzkxMDQ3MS1vcHRpbWlzZS1wYWdlLXNwZWVkLWxvYWQtaGlrYXNob3AtY3NzLWFuZC1qcy1maWxlcy1vbmx5LW9uLXNob3AtcGFnZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[smart web](/forum/user/52782-smart-web "View smart web's Profile")**
- [![smart web's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/52782-smart-web "View smart web's Profile") Topic Author
- [ Offline](/forum/user/52782-smart-web)

Less More

- Posts: 62
- Thank you received: 10
-
-

6 months 1 day ago [\#371848](#371848) by [smart web](/forum/user/52782-smart-web "View smart web's Profile")  Replied by *[smart web](/forum/user/52782-smart-web "View smart web's Profile")* on topic *[Optimise page speed -&gt; load HikaShop css and js files only on shop pages](/forum/4-how-to/910471-optimise-page-speed-load-hikashop-css-and-js-files-only-on-shop-pages#371848 "-- HikaShop version -- : 6.4.1 -- Joomla version -- : 6.1.0 -- PHP version -- : 8.3.30  Hi  I need to optimise a client’s Joomla 6.1 website using HikaShop 6.4.1. I’ve noticed that the following files are also being loaded on pages where no HikaShop element is present:    domain.com/media/com&#95;hikashop/css/hikashop.css?v=6412604221935    domain.com/media/com&#95;hikashop/css/style&#95;custom.css?t=1772724241    domain.com/media/com&#95;hikashop/css/notify....css?v=6412604221935    domain.com/media/com&#95;hikashop/js/hikashop.js?v=6412604221935    domain.com/media/com&#95;hikashop/js/notify.min.js?v=6412604221935    domain.com/plugins/hikashop/cartnotify/media/notify.js  Is it possible to load these files exclusively on the shop pages in order to improve the loading time of the other pages?  Regards Stef")*

Thank you very much for your reply, Nicolas. Unfortunately, I forgot to confirm that the problem has been resolved. Thank you very much for your expert help.

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzkxMDQ3MS1vcHRpbWlzZS1wYWdlLXNwZWVkLWxvYWQtaGlrYXNob3AtY3NzLWFuZC1qcy1maWxlcy1vbmx5LW9uLXNob3AtcGFnZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.045 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
