Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cleaning up the messy includes

Featured Replies

Prestashop head includes are absolutely terrible. As far as I can tell every css and js file that might be used on a page somewhere is automatically loaded in every page of the site; totally ridiculous. I also see scripts that have nothing to do with the page automatically inserted into every page; even if they aren't being used anywhere on the site. I have 50 files automatically loaded on my homepage where I really only need 49 :wink:

I know this is an old Prestashop issue and they supposedly fixed it in 1.7 to have a better MVC structure. Will future development of TB help streamline what files are loaded on each page based on requirements of the content and possibly provide a way to minify all files?

Thanks!

PS 1.7 tackles this by joining all the CSS and JS snippets into one big file for each. Pretty simple to do, just use a master CSS/JS file containing nothing but @include's for the other files and use that. The webpack compiler even manages to optimize the result (options --optimize-minimize --optimize-occurence-order --optimize-dedupe).

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.