Mobile View: Limit Page list to one level

This mod ensures that mobile devices only see the top or current level of page links rather than all levels, including sub-pages. The default display can quickly clutter the mobile view if there’s a lot of sub-pages. Open: /includes/display/PagesMenu.php Find: Replace with:

404.php alternative

This is a replacement of the class.404.php file and provides a lot more information to help backtrace problems, hacking attempts, etc… Replace /includes/classes/class.404.php with: Alternative version to catch all 404 without $_POST and $_GET, only exclude when particular strings in URL

Fix the ISC File Include Bug

Background From ISC doc: It’s also possible to include another file within a template. This can be accomplished using file include variables. This is extremely useful if external files such as banners, site‐network headers or other content need to be included. File includes can either be local (relative to the Interspire Shopping Cart base directory),…

Server Configuration and Tuning for Optimal Server Performance

Here is a summary of server configuration for optimal server performance, site speed, and security for a single ecommerce site dedicated server with 16GB RAM. File locations are based on cPanel EA4 Apache 2.4 Event MPM PHP 5.6 PHP-FPM MariaDB 10.3 All configuration values are defined and tuned based on our actual website usages. E.g….

Increase Google Analytics Site Speed Sample Rate

For gtag: Reference https://www.en.advertisercommunity.com/t5/Google-Analytics-Code/Google-Analytics-Site-Speed-Sample-Rate-Gtag-js/td-p/1613299 https://stackoverflow.com/questions/52494520/migrating-from-analytics-js-to-gtag-js

PHP Realpath Cache

PHP has a feature to cache the realpath resolutions to speed up frequent accesses to the filesystem. Check current realpath cache size using Reference https://haydenjames.io/set-monitor-phps-realpath_cache_size-correctly/ https://tideways.com/profiler/blog/how-does-the-php-realpath-cache-work-and-how-to-configure-it