instruction
stringlengths
44
167
input
float64
output
stringlengths
4
388
text
stringlengths
114
524
Why might one Redis instance not be enough for serving incoming requests in Commerce?
null
In Commerce one Redis instance might not be enough to serve incoming requests. To address this Commerce allows configuring separate cache storage for each cache type and recommends installing separate Redis instances for the most actively used caches.
<s>[INST] Why might one Redis instance not be enough for serving incoming requests in Commerce? [/INST] In Commerce one Redis instance might not be enough to serve incoming requests. To address this Commerce allows configuring separate cache storage for each cache type and recommends installing separate Redis instances for the most actively used caches.</s>
Why is using deprecated settings like merging JS and CSS files not recommended in Commerce?
null
Using deprecated settings like merging JS and CSS files in Commerce is not recommended as they were designed only for synchronously-loaded JS in the HEAD section of the page and using this technique can cause bundling and requireJS logic to work incorrectly.
<s>[INST] Why is using deprecated settings like merging JS and CSS files not recommended in Commerce? [/INST] Using deprecated settings like merging JS and CSS files in Commerce is not recommended as they were designed only for synchronously-loaded JS in the HEAD section of the page and using this technique can cause bundling and requireJS logic to work incorrectly.</s>
Which types of caches should be disabled in development instances if choosing to disable some caches?
null
Page and Block caches should be disabled in development instances but remember to enable all caches during testing.
<s>[INST] Which types of caches should be disabled in development instances if choosing to disable some caches? [/INST] Page and Block caches should be disabled in development instances but remember to enable all caches during testing.</s>
Which PHP extension was removed from PHP 7.2 and replaced with the sodium library and what action is needed when upgrading PHP?
null
php-mcrypt was removed and sodium should be properly enabled when upgrading PHP.
<s>[INST] Which PHP extension was removed from PHP 7.2 and replaced with the sodium library and what action is needed when upgrading PHP? [/INST] php-mcrypt was removed and sodium should be properly enabled when upgrading PHP.</s>
Which pages are affected by the limitation on product grid collections in Adobe Commerce?
null
The limitation on product grid collections affects specific pages including Catalog Product Grid Add Related/Up-Sell/Cross-Sell Products Grid Add Products to Bundle Product Add Products to Group Product and Admin Create Order Page.
<s>[INST] Which pages are affected by the limitation on product grid collections in Adobe Commerce? [/INST] The limitation on product grid collections affects specific pages including Catalog Product Grid Add Related/Up-Sell/Cross-Sell Products Grid Add Products to Bundle Product Add Products to Group Product and Admin Create Order Page.</s>
Which indexes in Commerce support batch indexing?
null
The Category Product Index (Catalog Module) Price Index (Catalog Module) EAV Index (Catalog Module) and Stock Index (CatalogInventory Module) in Commerce support batch indexing.
<s>[INST] Which indexes in Commerce support batch indexing? [/INST] The Category Product Index (Catalog Module) Price Index (Catalog Module) EAV Index (Catalog Module) and Stock Index (CatalogInventory Module) in Commerce support batch indexing.</s>
Which Consumer should be started to process messages in the queue for asynchronous configuration saves?
null
To process messages in the queue for asynchronous configuration savesstart the Consumer using the command: bin/magento queue:consumers:start saveConfigProcessor --max-messages=1.
<s>[INST] Which Consumer should be started to process messages in the queue for asynchronous configuration saves? [/INST] To process messages in the queue for asynchronous configuration savesstart the Consumer using the command: bin/magento queue:consumers:start saveConfigProcessor --max-messages=1.</s>
Where should Varnish be installed for optimal performance?
null
Install Varnish on a separate server in front of the web tier.
<s>[INST] Where should Varnish be installed for optimal performance? [/INST] Install Varnish on a separate server in front of the web tier.</s>
Where can you find the Admin UI setting to enable or disable the inventory check when loading the cart in Magento?
null
In Magento you can find the Admin UI setting to enable or disable the inventory check when loading the cart in Stores > Configuration > Catalog > Inventory > Stock Options section.
<s>[INST] Where can you find the Admin UI setting to enable or disable the inventory check when loading the cart in Magento? [/INST] In Magento you can find the Admin UI setting to enable or disable the inventory check when loading the cart in Stores > Configuration > Catalog > Inventory > Stock Options section.</s>
Where can you find sample recommended configuration files for Nginx and Apache in a Commerce installation?
null
In the <magento_home>/nginx.conf.sample (Nginx) and <magento_home>.htaccess.sample (Apache) files.
<s>[INST] Where can you find sample recommended configuration files for Nginx and Apache in a Commerce installation? [/INST] In the <magento_home>/nginx.conf.sample (Nginx) and <magento_home>.htaccess.sample (Apache) files.</s>
Where can you change the mode of each Commerce indexer separately?
null
You can change the mode of each Commerce indexer separately on the System > Tools > Index Management configuration page.
<s>[INST] Where can you change the mode of each Commerce indexer separately? [/INST] You can change the mode of each Commerce indexer separately on the System > Tools > Index Management configuration page.</s>
Where can merchants find the option to enable the optimization for customer segment validation in Adobe Commerce?
null
Merchants can enable the optimization for customer segment validation by going to Stores > Settings > Configuration > Customers > Customer Configuration > Customer Segments > Real-time Check if Customer is Matched by Segment.
<s>[INST] Where can merchants find the option to enable the optimization for customer segment validation in Adobe Commerce? [/INST] Merchants can enable the optimization for customer segment validation by going to Stores > Settings > Configuration > Customers > Customer Configuration > Customer Segments > Real-time Check if Customer is Matched by Segment.</s>
Where can merchants find the "Limit Number of Products in Grid" system configuration setting in Adobe Commerce?
null
Merchants can find the "Limit Number of Products in Grid" system configuration setting under Stores > Settings > Configuration > Advanced > Admin > Admin Grids.
<s>[INST] Where can merchants find the "Limit Number of Products in Grid" system configuration setting in Adobe Commerce? [/INST] Merchants can find the "Limit Number of Products in Grid" system configuration setting under Stores > Settings > Configuration > Advanced > Admin > Admin Grids.</s>
When the Enable Inventory Check On Cart Load is set to No in what step does the inventory check always occur in Magento?
null
When the Enable Inventory Check On Cart Load is set to No in Magento the inventory check always occurs at the order placement step even when disabled during the cart loading.
<s>[INST] When the Enable Inventory Check On Cart Load is set to No in what step does the inventory check always occur in Magento? [/INST] When the Enable Inventory Check On Cart Load is set to No in Magento the inventory check always occurs at the order placement step even when disabled during the cart loading.</s>
When preprocessing and compiling Dependency Injection (DI) instructions in Magento what actions does Magento perform?
null
When preprocessing and compiling Dependency Injection (DI) instructions Magento reads and processes all present configuration analyzes dependencies between classes creates autogenerated files (including proxies factories etc.
<s>[INST] When preprocessing and compiling Dependency Injection (DI) instructions in Magento what actions does Magento perform? [/INST] When preprocessing and compiling Dependency Injection (DI) instructions Magento reads and processes all present configuration analyzes dependencies between classes creates autogenerated files (including proxies factories etc.</s>
When is the generation of auto-generated classes and optimized configuration caches performed in development mode without the need to run bin/magento setup:di:compile?
null
Magento performs the generation on-demand in development mode; you do not need to run it. If you modify a class's signature and need to re-generate its auto-generated factories/proxies/interceptors remove those classes or the generated folder.
<s>[INST] When is the generation of auto-generated classes and optimized configuration caches performed in development mode without the need to run bin/magento setup:di:compile? [/INST] Magento performs the generation on-demand in development mode; you do not need to run it. If you modify a class's signature and need to re-generate its auto-generated factories/proxies/interceptors remove those classes or the generated folder.</s>
What web servers does Magento fully support?
null
Magento fully supports the Nginx and Apache web servers.
<s>[INST] What web servers does Magento fully support? [/INST] Magento fully supports the Nginx and Apache web servers.</s>
What triggers the validation process for customer segments in Adobe Commerce?
null
Customer actions trigger the validation process for customer segments in Adobe Commerce.
<s>[INST] What triggers the validation process for customer segments in Adobe Commerce? [/INST] Customer actions trigger the validation process for customer segments in Adobe Commerce.</s>
What software is required for production instances of Commerce?
null
PHP Nginx and PHP-FPM MySQL Elasticsearch or OpenSearch
<s>[INST] What software is required for production instances of Commerce? [/INST] PHP Nginx and PHP-FPM MySQL Elasticsearch or OpenSearch</s>
What should you pay attention to in a multiple web nodes setup when using Redis for caching due to Commerce actively caching lots of data?
null
Pay attention to the network channel between the web nodes and the Redis server to avoid it becoming a bottleneck for request processing. If serving hundreds and thousands of simultaneous requestsconsider a channel of up to 1 Gbit or wider to the Redis server.
<s>[INST] What should you pay attention to in a multiple web nodes setup when using Redis for caching due to Commerce actively caching lots of data? [/INST] Pay attention to the network channel between the web nodes and the Redis server to avoid it becoming a bottleneck for request processing. If serving hundreds and thousands of simultaneous requestsconsider a channel of up to 1 Gbit or wider to the Redis server.</s>
What settings can be adjusted in Commerce to improve storefront responsiveness?
null
To enhance storefront responsiveness in Commerce you can adjust settings under Stores -> Configuration -> Advanced -> Developer.
<s>[INST] What settings can be adjusted in Commerce to improve storefront responsiveness? [/INST] To enhance storefront responsiveness in Commerce you can adjust settings under Stores -> Configuration -> Advanced -> Developer.</s>
What REST endpoints and GraphQL mutations run asynchronously when the AsyncOrder module is enabled in Magento?
null
When the AsyncOrder module is enabled in Magentothe REST endpoints like "POST /V1/carts/mine/payment-information" and "POST /V1/guest-carts/:cartId/payment-information" run asynchronously as well as GraphQL mutations like "placeOrder" and "setPaymentMethodAndPlaceOrder".
<s>[INST] What REST endpoints and GraphQL mutations run asynchronously when the AsyncOrder module is enabled in Magento? [/INST] When the AsyncOrder module is enabled in Magentothe REST endpoints like "POST /V1/carts/mine/payment-information" and "POST /V1/guest-carts/:cartId/payment-information" run asynchronously as well as GraphQL mutations like "placeOrder" and "setPaymentMethodAndPlaceOrder".</s>
What recommendation is provided for log storage in Magento?
null
For log storage in Magento it is recommended to minimize logging if not needed and configure logging to write on a separate storage system with high-access speeds to avoid affecting the availability of web nodes especially in high-load situations.
<s>[INST] What recommendation is provided for log storage in Magento? [/INST] For log storage in Magento it is recommended to minimize logging if not needed and configure logging to write on a separate storage system with high-access speeds to avoid affecting the availability of web nodes especially in high-load situations.</s>
What real-world factors can affect rendering times in Commerce?
null
Real-world factors that can affect rendering times in Commerce include slow connections large connection thresholds limited networks and the slower rendering capabilities of mobile devices.
<s>[INST] What real-world factors can affect rendering times in Commerce? [/INST] Real-world factors that can affect rendering times in Commerce include slow connections large connection thresholds limited networks and the slower rendering capabilities of mobile devices.</s>
What PHP versions does Magento fully support for optimal performance?
null
Magento fully supports PHP 7.3 and 7.4.
<s>[INST] What PHP versions does Magento fully support for optimal performance? [/INST] Magento fully supports PHP 7.3 and 7.4.</s>
What options does Magento provide for storing cache and session data?
null
Magento provides options such as Redis Memcache filesystem and database.
<s>[INST] What options does Magento provide for storing cache and session data? [/INST] Magento provides options such as Redis Memcache filesystem and database.</s>
What modules can be configured for high-throughput order processing in Magento?
null
AsyncOrder Deferred Total Calculation and Inventory Check On Quote Load modules can be configured for high-throughput order processing in Magento.
<s>[INST] What modules can be configured for high-throughput order processing in Magento? [/INST] AsyncOrder Deferred Total Calculation and Inventory Check On Quote Load modules can be configured for high-throughput order processing in Magento.</s>
What Linux kernel parameter can be set in /etc/sysctl.conf to enable the reuse of TCP connections?
null
net.ipv4.tcp_tw_reuse = 1
<s>[INST] What Linux kernel parameter can be set in /etc/sysctl.conf to enable the reuse of TCP connections? [/INST] net.ipv4.tcp_tw_reuse = 1</s>
What is the recommended PHP memory configuration for a single server store in Magento?
null
2 GB
<s>[INST] What is the recommended PHP memory configuration for a single server store in Magento? [/INST] 2 GB</s>
What is the recommended configuration for a local Redis server in a single web node setup?
null
Configure Redis to use sockets for direct connections instead of exchanging data through HTTP.
<s>[INST] What is the recommended configuration for a local Redis server in a single web node setup? [/INST] Configure Redis to use sockets for direct connections instead of exchanging data through HTTP.</s>
What is the recommended approach for scheduling database backups to avoid performance issues?
null
For better performance and to avoid contention for available resources it is recommended to schedule database backups to run in succession one at a time at off-peak times.
<s>[INST] What is the recommended approach for scheduling database backups to avoid performance issues? [/INST] For better performance and to avoid contention for available resources it is recommended to schedule database backups to run in succession one at a time at off-peak times.</s>
What is the recommended approach for PHP extensions to ensure maximum speed and efficiency for Commerce functionality?
null
Limit the list of active PHP extensions to those required for Commerce functionality.
<s>[INST] What is the recommended approach for PHP extensions to ensure maximum speed and efficiency for Commerce functionality? [/INST] Limit the list of active PHP extensions to those required for Commerce functionality.</s>
What is the recommended approach for handling caches on developer instances in Commerce?
null
We recommend cleaning caches instead of disabling them completely for more efficient operation.
<s>[INST] What is the recommended approach for handling caches on developer instances in Commerce? [/INST] We recommend cleaning caches instead of disabling them completely for more efficient operation.</s>
What is the purpose of the realpath_cache configuration in PHP and what are the recommended settings for improving Commerce performance?
null
realpath_cache allows PHP processes to cache paths to filesand the recommended settings are realpath_cache_size=10M and realpath_cache_ttl=7200.
<s>[INST] What is the purpose of the realpath_cache configuration in PHP and what are the recommended settings for improving Commerce performance? [/INST] realpath_cache allows PHP processes to cache paths to filesand the recommended settings are realpath_cache_size=10M and realpath_cache_ttl=7200.</s>
What is the purpose of the HTTP/2 protocol in the context of JS bundling in Commerce?
null
Activating the HTTP/2 protocol in Commerce can be a good alternative to using JS bundling providing similar benefits in terms of reducing server requests.
<s>[INST] What is the purpose of the HTTP/2 protocol in the context of JS bundling in Commerce? [/INST] Activating the HTTP/2 protocol in Commerce can be a good alternative to using JS bundling providing similar benefits in terms of reducing server requests.</s>
What is the purpose of the Enable Inventory On Cart Load global setting in Magento?
null
The Enable Inventory On Cart Load global setting in Magento determines whether to perform an inventory check when loading a product in the cart. Disabling the inventory check process improves performance for all checkout steps particularly when dealing with bulk products in the cart.
<s>[INST] What is the purpose of the Enable Inventory On Cart Load global setting in Magento? [/INST] The Enable Inventory On Cart Load global setting in Magento determines whether to perform an inventory check when loading a product in the cart. Disabling the inventory check process improves performance for all checkout steps particularly when dealing with bulk products in the cart.</s>
What is the purpose of the Async Config module in Commerce?
null
The Async Config module enables asynchronous configuration saves by running a cron job that uses a consumer to process the save in a message queue reducing the time required for saving store configurations.
<s>[INST] What is the purpose of the Async Config module in Commerce? [/INST] The Async Config module enables asynchronous configuration saves by running a cron job that uses a consumer to process the save in a message queue reducing the time required for saving store configurations.</s>
What is the purpose of setting the mode to production in Magento?
null
Setting the mode to production in Magento automatically runs setup:di:compile and setup:static-content:deploy. Production mode is specifically optimized for the maximum performance of the store and it de-activates all developer-specific features.
<s>[INST] What is the purpose of setting the mode to production in Magento? [/INST] Setting the mode to production in Magento automatically runs setup:di:compile and setup:static-content:deploy. Production mode is specifically optimized for the maximum performance of the store and it de-activates all developer-specific features.</s>
What is the purpose of Deferred Stock Update in Commerce during intensive sales periods?
null
Deferred Stock Update in Commerce defers stock updates related to orders during intensive sales minimizing operations and speeding up the order placement process. It is advisable when Backorders are activated in the store.
<s>[INST] What is the purpose of Deferred Stock Update in Commerce during intensive sales periods? [/INST] Deferred Stock Update in Commerce defers stock updates related to orders during intensive sales minimizing operations and speeding up the order placement process. It is advisable when Backorders are activated in the store.</s>
What is the purpose of bundling JS resources in Commerce?
null
Bundling JS resources in Commerce merges all JS resources into one or a set of bundles loaded in storefront pages. This reduces server requests improves page performance and aids browser caching of JS resources for subsequent browsing.
<s>[INST] What is the purpose of bundling JS resources in Commerce? [/INST] Bundling JS resources in Commerce merges all JS resources into one or a set of bundles loaded in storefront pages. This reduces server requests improves page performance and aids browser caching of JS resources for subsequent browsing.</s>
What is the purpose of batch indexing in Commerce?
null
Batch indexing in Commerce allows setting a portion of data to be processed on each iteration helping manage re-indexing concerns when dealing with large amounts of data.
<s>[INST] What is the purpose of batch indexing in Commerce? [/INST] Batch indexing in Commerce allows setting a portion of data to be processed on each iteration helping manage re-indexing concerns when dealing with large amounts of data.</s>
What is the potential drawback of enabling the "Enable JavaScript Bundling" option in Commerce?
null
Enabling the "Enable JavaScript Bundling" option in Commerce may not be recommended for stores where the first page load time is extremely critical because all JS content will be loaded on the first call.
<s>[INST] What is the potential drawback of enabling the "Enable JavaScript Bundling" option in Commerce? [/INST] Enabling the "Enable JavaScript Bundling" option in Commerce may not be recommended for stores where the first page load time is extremely critical because all JS content will be loaded on the first call.</s>
What is the PHP memory requirement for a web node serving admin pages with a large catalog in Magento?
null
1 GB
<s>[INST] What is the PHP memory requirement for a web node serving admin pages with a large catalog in Magento? [/INST] 1 GB</s>
What is the goal of advanced bundling in JavaScript for Commerce?
null
The goal of advanced bundling in JavaScript for Commerce is to build bundles based on page types or purposes ensuring that each page in the store downloads a common bundle and a page-specific bundle reducing the number and size of requested assets.
<s>[INST] What is the goal of advanced bundling in JavaScript for Commerce? [/INST] The goal of advanced bundling in JavaScript for Commerce is to build bundles based on page types or purposes ensuring that each page in the store downloads a common bundle and a page-specific bundle reducing the number and size of requested assets.</s>
What is the easiest way to serve and cache media content in Magento?
null
The easiest way to serve and cache media content in Magento is by delivering and caching it on a Varnish server assuming either a shared file system or a dedicated server pointing to Varnish.
<s>[INST] What is the easiest way to serve and cache media content in Magento? [/INST] The easiest way to serve and cache media content in Magento is by delivering and caching it on a Varnish server assuming either a shared file system or a dedicated server pointing to Varnish.</s>
What is the default behavior of Adobe Commerce when validating customer segments in real-time?
null
By default Adobe Commerce validates each segment in real-time to define which customer segments are matched and which are not.
<s>[INST] What is the default behavior of Adobe Commerce when validating customer segments in real-time? [/INST] By default Adobe Commerce validates each segment in real-time to define which customer segments are matched and which are not.</s>
What is suggested if logging is not required in Magento?
null
If logging is not required in Magento it is suggested to minimize logging to reduce its impact on disk operations and web node availability.
<s>[INST] What is suggested if logging is not required in Magento? [/INST] If logging is not required in Magento it is suggested to minimize logging to reduce its impact on disk operations and web node availability.</s>
What is one solution for improving cache performance in Commerce using Redis?
null
One solution for improving cache performance in Commerce using Redis is to place the configuration cache on the file system and move the other caches to the Redis server.
<s>[INST] What is one solution for improving cache performance in Commerce using Redis? [/INST] One solution for improving cache performance in Commerce using Redis is to place the configuration cache on the file system and move the other caches to the Redis server.</s>
What is one example of tuning indexer performance in Commerce?
null
An example of tuning indexer performance in Commerce is overriding the batchRowsCount configuration value in app/code/Magento/catalog/etc/di.xml to reduce full indexing time.
<s>[INST] What is one example of tuning indexer performance in Commerce? [/INST] An example of tuning indexer performance in Commerce is overriding the batchRowsCount configuration value in app/code/Magento/catalog/etc/di.xml to reduce full indexing time.</s>
What is a potential issue with basic bundling in Commerce?
null
A potential issue with basic bundling in Commerce is that it reduces the number of connections per page but loads all JavaScript bundles for each page request even when the requested page may only depend on files within one or two of the bundles impacting the user experience.
<s>[INST] What is a potential issue with basic bundling in Commerce? [/INST] A potential issue with basic bundling in Commerce is that it reduces the number of connections per page but loads all JavaScript bundles for each page request even when the requested page may only depend on files within one or two of the bundles impacting the user experience.</s>
What is a key factor in determining the amount of memory to configure for Redis in a Commerce deployment?
null
Block cache which grows relative to the number of pages on a site (number of skus x number of store views).
<s>[INST] What is a key factor in determining the amount of memory to configure for Redis in a Commerce deployment? [/INST] Block cache which grows relative to the number of pages on a site (number of skus x number of store views).</s>
What information does the system requirements provide regarding supported versions of software?
null
See system requirements for information about supported versions of each type of software.
<s>[INST] What information does the system requirements provide regarding supported versions of software? [/INST] See system requirements for information about supported versions of each type of software.</s>
What happens when you enable both bundling and merging in Commerce?
null
When both bundling and merging are enabled in Commerce it creates a single JavaScript file by merging all synchronous JavaScript files and distributing them among bundles.
<s>[INST] What happens when you enable both bundling and merging in Commerce? [/INST] When both bundling and merging are enabled in Commerce it creates a single JavaScript file by merging all synchronous JavaScript files and distributing them among bundles.</s>
What happens when a customer places an order with the AsyncOrder module enabled in Magento?
null
With AsyncOrder enabled when a customer places an order the order is marked as received placed in a queue and processed on a first-in-first-out basis. The order details are not immediately available and the order remains in the queue until processed.
<s>[INST] What happens when a customer places an order with the AsyncOrder module enabled in Magento? [/INST] With AsyncOrder enabled when a customer places an order the order is marked as received placed in a queue and processed on a first-in-first-out basis. The order details are not immediately available and the order remains in the queue until processed.</s>
What functionality does the Negotiable Quote Async Order B2B module enable in Magento?
null
The Negotiable Quote Async Order B2B module in Magento enables saving order items asynchronously for the NegotiableQuote functionality when both AsyncOrder and NegotiableQuote are enabled.
<s>[INST] What functionality does the Negotiable Quote Async Order B2B module enable in Magento? [/INST] The Negotiable Quote Async Order B2B module in Magento enables saving order items asynchronously for the NegotiableQuote functionality when both AsyncOrder and NegotiableQuote are enabled.</s>
What files manage Commerce dependencies and install the appropriate version for each package in Magento?
null
The composer.json and composer.lock files manage Commerce dependencies and install the appropriate version for each package in Magento.
<s>[INST] What files manage Commerce dependencies and install the appropriate version for each package in Magento? [/INST] The composer.json and composer.lock files manage Commerce dependencies and install the appropriate version for each package in Magento.</s>
What features are supported by the AsyncOrder module in Magento?
null
AsyncOrder in Magento supports Checkout types such as OnePage Checkout Standard Checkoutand B2B Negotiable Quote. It also supports specific payment methods and all shipping methods.
<s>[INST] What features are supported by the AsyncOrder module in Magento? [/INST] AsyncOrder in Magento supports Checkout types such as OnePage Checkout Standard Checkoutand B2B Negotiable Quote. It also supports specific payment methods and all shipping methods.</s>
What equation is recommended to determine the number of web nodes/cores needed to process all incoming requests without queuing?
null
N[Cores] = (N[Expected Requests] / 2) + N [Expected Cron Processes
<s>[INST] What equation is recommended to determine the number of web nodes/cores needed to process all incoming requests without queuing? [/INST] N[Cores] = (N[Expected Requests] / 2) + N [Expected Cron Processes</s>
What does the native Commerce bundling mechanism do?
null
The native Commerce bundling mechanism combines all assets present in the system and distributes them among same-sized bundles (bundle_0.jsbundle_1.js … bundle_x.js).
<s>[INST] What does the native Commerce bundling mechanism do? [/INST] The native Commerce bundling mechanism combines all assets present in the system and distributes them among same-sized bundles (bundle_0.jsbundle_1.js … bundle_x.js).</s>
What does the Fixed Product Tax (FPT) behave like when DeferredTotalCalculation is enabled in Magento?
null
When DeferredTotalCalculation is enabled in Magento the Fixed Product Tax (FPT) is not included in the product price and cart subtotal of the mini cart after adding the product to the shopping cart. The FPT calculation is deferred when adding a product to the mini cart and displays correctly in the shopping cart after proceeding to final checkout.
<s>[INST] What does the Fixed Product Tax (FPT) behave like when DeferredTotalCalculation is enabled in Magento? [/INST] When DeferredTotalCalculation is enabled in Magento the Fixed Product Tax (FPT) is not included in the product price and cart subtotal of the mini cart after adding the product to the shopping cart. The FPT calculation is deferred when adding a product to the mini cart and displays correctly in the shopping cart after proceeding to final checkout.</s>
What does the Deferred Total Calculation module in Magento optimize?
null
The Deferred Total Calculation module optimizes the checkout process by deferring the total calculation until it is requested for the shopping cart or during final checkout steps in Magento.
<s>[INST] What does the Deferred Total Calculation module in Magento optimize? [/INST] The Deferred Total Calculation module optimizes the checkout process by deferring the total calculation until it is requested for the shopping cart or during final checkout steps in Magento.</s>
What does the AsyncOrder module do in Magento?
null
The AsyncOrder module enables asynchronous order placement marking the order as received placing it in a queue and processing orders from the queue on a first-in-first-out basis in Magento.
<s>[INST] What does the AsyncOrder module do in Magento? [/INST] The AsyncOrder module enables asynchronous order placement marking the order as received placing it in a queue and processing orders from the queue on a first-in-first-out basis in Magento.</s>
What does setting net.core.somaxconn = 1024 in /etc/sysctl.conf control?
null
It controls the maximum number of open sockets waiting for connections and can be safely increased to 1024.
<s>[INST] What does setting net.core.somaxconn = 1024 in /etc/sysctl.conf control? [/INST] It controls the maximum number of open sockets waiting for connections and can be safely increased to 1024.</s>
What does Magento highly recommend for use as the full page cache server for your store?
null
Magento highly recommends using Varnish.
<s>[INST] What does Magento highly recommend for use as the full page cache server for your store? [/INST] Magento highly recommends using Varnish.</s>
What does enabling the "Asynchronous email notifications" setting do and where can you enable it in the configuration?
null
Enabling the "Asynchronous email notifications" setting moves processes handling checkout and order processing email notifications to the background. It can be enabled at Stores > Settings > Configuration > Sales > Sales Emails > General Settings > Asynchronous Sending.
<s>[INST] What does enabling the "Asynchronous email notifications" setting do and where can you enable it in the configuration? [/INST] Enabling the "Asynchronous email notifications" setting moves processes handling checkout and order processing email notifications to the background. It can be enabled at Stores > Settings > Configuration > Sales > Sales Emails > General Settings > Asynchronous Sending.</s>
What commands should be avoided in development mode for compilation code generation and static content deployment?
null
Avoid running production commands like bin/magento setup:di:compile and bin/magento setup:static-content:deploy in development mode.
<s>[INST] What commands should be avoided in development mode for compilation code generation and static content deployment? [/INST] Avoid running production commands like bin/magento setup:di:compile and bin/magento setup:static-content:deploy in development mode.</s>
What command is used to preprocess and compile DI instructions in Magento?
null
The command "bin/magento setup:di:compile" is used to preprocess and compile Dependency Injection (DI) instructions in Magento.
<s>[INST] What command is used to preprocess and compile DI instructions in Magento? [/INST] The command "bin/magento setup:di:compile" is used to preprocess and compile Dependency Injection (DI) instructions in Magento.</s>
What command is used to install Commerce dependencies in Magento?
null
To install Commerce dependencies in Magento the command "composer install --no-dev" is used.
<s>[INST] What command is used to install Commerce dependencies in Magento? [/INST] To install Commerce dependencies in Magento the command "composer install --no-dev" is used.</s>
What command is used to deploy static content in Magento?
null
The command "bin/magento setup:static-content:deploy" is used to deploy static content in Magento.
<s>[INST] What command is used to deploy static content in Magento? [/INST] The command "bin/magento setup:static-content:deploy" is used to deploy static content in Magento.</s>
What command disables the AsyncOrder module in Magento using the command-line interface?
null
To disable the AsyncOrder module in Magento using the command-line interfaceyou can use the command "bin/magento setup:config:set --checkout-async 0".
<s>[INST] What command disables the AsyncOrder module in Magento using the command-line interface? [/INST] To disable the AsyncOrder module in Magento using the command-line interfaceyou can use the command "bin/magento setup:config:set --checkout-async 0".</s>
What command disables DeferredTotalCalculation in Magento using the command-line interface?
null
To disable DeferredTotalCalculation in Magento using the command-line interfaceyou can use the command "bin/magento setup:config:set --deferred-total-calculating 0".
<s>[INST] What command disables DeferredTotalCalculation in Magento using the command-line interface? [/INST] To disable DeferredTotalCalculation in Magento using the command-line interfaceyou can use the command "bin/magento setup:config:set --deferred-total-calculating 0".</s>
What client-side optimization settings can be changed to improve storefront responsiveness in Commerce?
null
To improve storefront responsiveness go to Stores -> Configuration -> Advanced -> Developer and enable the following settings: Asynchronous indexing Minify CSS Files Minify JavaScript Files Enable JavaScript Bundling and Minify HTML.
<s>[INST] What client-side optimization settings can be changed to improve storefront responsiveness in Commerce? [/INST] To improve storefront responsiveness go to Stores -> Configuration -> Advanced -> Developer and enable the following settings: Asynchronous indexing Minify CSS Files Minify JavaScript Files Enable JavaScript Bundling and Minify HTML.</s>
What can cause significant performance degradation for merchants with a large number of customer segments?
null
Customer actions such as customer login and adding products to the cart may cause significant performance degradation for merchants with a large number of customer segments.
<s>[INST] What can cause significant performance degradation for merchants with a large number of customer segments? [/INST] Customer actions such as customer login and adding products to the cart may cause significant performance degradation for merchants with a large number of customer segments.</s>
What asynchronous operations in Commerce use RabbitMQ?
null
In Commerce RabbitMQ is used for executing numerous asynchronous operationsincluding B2B catalog operations and asynchronous stock updates.
<s>[INST] What asynchronous operations in Commerce use RabbitMQ? [/INST] In Commerce RabbitMQ is used for executing numerous asynchronous operationsincluding B2B catalog operations and asynchronous stock updates.</s>
What are the two modes in which an indexer can run and which mode is recommended for production in Commerce?
null
An indexer can run in Update on Save or Update on Schedule mode. Update on Schedule mode is recommended for production because it performs indexation in the background through a specific cron job avoiding delays and data unavailability during high loads.
<s>[INST] What are the two modes in which an indexer can run and which mode is recommended for production in Commerce? [/INST] An indexer can run in Update on Save or Update on Schedule mode. Update on Schedule mode is recommended for production because it performs indexation in the background through a specific cron job avoiding delays and data unavailability during high loads.</s>
What are the two main objectives of bundling JavaScript modules for better performance in Commerce?
null
The two main objectives of bundling JavaScript modules in Commerce are reducing the number of server requests and minimizing the size of those server requests.
<s>[INST] What are the two main objectives of bundling JavaScript modules for better performance in Commerce? [/INST] The two main objectives of bundling JavaScript modules in Commerce are reducing the number of server requests and minimizing the size of those server requests.</s>
What are the default settings for merging and bundling in Commerce?
null
The default settings for merging and bundling in Commerce are turned off by default. These settings can be enabled within the Admin UI in Stores > Settings > Configuration > Advanced > Developer > JavaScript Settings or from the command line.
<s>[INST] What are the default settings for merging and bundling in Commerce? [/INST] The default settings for merging and bundling in Commerce are turned off by default. These settings can be enabled within the Admin UI in Stores > Settings > Configuration > Advanced > Developer > JavaScript Settings or from the command line.</s>
What are the Client side optimization settings that can be adjusted to enhance storefront responsiveness in Commerce?
null
To improve storefront responsiveness adjust the following settings under Stores -> Configuration -> Advanced -> Developer: Asynchronous indexing Minify CSS Files Minify JavaScript Files Enable JavaScript Bundling and Minify HTML.
<s>[INST] What are the Client side optimization settings that can be adjusted to enhance storefront responsiveness in Commerce? [/INST] To improve storefront responsiveness adjust the following settings under Stores -> Configuration -> Advanced -> Developer: Asynchronous indexing Minify CSS Files Minify JavaScript Files Enable JavaScript Bundling and Minify HTML.</s>
What are some main configuration best practices defined in the Nginx sample file for better performance?
null
Settings for caching static content in a browser memory and execution time settings for PHP and content compression settings.
<s>[INST] What are some main configuration best practices defined in the Nginx sample file for better performance? [/INST] Settings for caching static content in a browser memory and execution time settings for PHP and content compression settings.</s>
What are some critical settings in the sample Varnish configuration file for performance optimization?
null
Backend health check Grace mode and Saint mode.
<s>[INST] What are some critical settings in the sample Varnish configuration file for performance optimization? [/INST] Backend health check Grace mode and Saint mode.</s>
What are some critical MySQL settings recommended for optimization in a Commerce environment?
null
innodb_buffer_pool_instances: 8innodb_buffer_pool_size: 128MB (for best efficiency specify a combination with innodb_buffer_pool_instances)max_connections: 150innodb_thread_concurrency: 0 (calculated using the formula: innodb_thread_concurrency = 2 * (NumCPUs + NumDisks)).
<s>[INST] What are some critical MySQL settings recommended for optimization in a Commerce environment? [/INST] innodb_buffer_pool_instances: 8innodb_buffer_pool_size: 128MB (for best efficiency specify a combination with innodb_buffer_pool_instances)max_connections: 150innodb_thread_concurrency: 0 (calculated using the formula: innodb_thread_concurrency = 2 * (NumCPUs + NumDisks)).</s>
What approach does Magento use for content updates when working with CDN services?
null
When working with CDN services in Magento the classic pull approach is used for content updates and it's necessary to configure Commerce URLs to work with the corresponding CDN service.
<s>[INST] What approach does Magento use for content updates when working with CDN services? [/INST] When working with CDN services in Magento the classic pull approach is used for content updates and it's necessary to configure Commerce URLs to work with the corresponding CDN service.</s>
What alternative benefits does activating the HTTP/2 protocol provide in comparison to JS bundling in Commerce?
null
Activating the HTTP/2 protocol in Commerce provides similar benefits to JS bundling offering improved performance by reducing server requests.
<s>[INST] What alternative benefits does activating the HTTP/2 protocol provide in comparison to JS bundling in Commerce? [/INST] Activating the HTTP/2 protocol in Commerce provides similar benefits to JS bundling offering improved performance by reducing server requests.</s>
What actions does deploying static content perform in Magento?
null
Deploying static content in Magento causes the analysis of all static resources performs merge minimization and bundling of content reads and processes theme data analyzes theme fallback and stores all processed and materialized content to a specific folder for further usage.
<s>[INST] What actions does deploying static content perform in Magento? [/INST] Deploying static content in Magento causes the analysis of all static resources performs merge minimization and bundling of content reads and processes theme data analyzes theme fallback and stores all processed and materialized content to a specific folder for further usage.</s>
Under what conditions is the Enable JavaScript Bundling option not recommended in Commerce?
null
The Enable JavaScript Bundling option is not recommended for stores where the first page load time is extremely critical because all JS content will be loaded on the first call impacting the initial page load time.
<s>[INST] Under what conditions is the Enable JavaScript Bundling option not recommended in Commerce? [/INST] The Enable JavaScript Bundling option is not recommended for stores where the first page load time is extremely critical because all JS content will be loaded on the first call impacting the initial page load time.</s>
Under what conditions can deferred stock updates be activated in Commerce?
null
Deferred stock updates can be activated in Commerce when Backorders are activated in the store. It minimizes operations and speeds up the order placement process but it is risky and can lead to negative stock quantities.
<s>[INST] Under what conditions can deferred stock updates be activated in Commerce? [/INST] Deferred stock updates can be activated in Commerce when Backorders are activated in the store. It minimizes operations and speeds up the order placement process but it is risky and can lead to negative stock quantities.</s>
Under the JavaScript Settings group what is the purpose of the "Enable JavaScript Bundling" option in Commerce?
null
The "Enable JavaScript Bundling" option in Commerce merges all JS resources into bundles reducing server requests and improving page performance by loading fewer resources.
<s>[INST] Under the JavaScript Settings group what is the purpose of the "Enable JavaScript Bundling" option in Commerce? [/INST] The "Enable JavaScript Bundling" option in Commerce merges all JS resources into bundles reducing server requests and improving page performance by loading fewer resources.</s>
On which page can you activate all caches when launching your store in production?
null
You can activate all caches from the System > Tools > Cache Management page.
<s>[INST] On which page can you activate all caches when launching your store in production? [/INST] You can activate all caches from the System > Tools > Cache Management page.</s>
Is Developer mode supported on cloud infrastructure?
null
Adobe Commerce on cloud infrastructure does not support Developer mode.
<s>[INST] Is Developer mode supported on cloud infrastructure? [/INST] Adobe Commerce on cloud infrastructure does not support Developer mode.</s>
Is DeferredTotalCalculation enabled or disabled by default in Magento?
null
DeferredTotalCalculation is disabled by default in Magento.
<s>[INST] Is DeferredTotalCalculation enabled or disabled by default in Magento? [/INST] DeferredTotalCalculation is disabled by default in Magento.</s>
In which modes can you access the Developer tab and options for client-side optimization settings in Commerce?
null
The Developer tab and options for client-side optimization settings are available in Default or Developer mode.
<s>[INST] In which modes can you access the Developer tab and options for client-side optimization settings in Commerce? [/INST] The Developer tab and options for client-side optimization settings are available in Default or Developer mode.</s>
In what order should the commands be run if you plan on updating the autoloader according to Magento best practices?
null
If you plan on updating the autoloader in Magento the commands should be run in the following order: "composer install --no-dev" "bin/magento setup:di:compile" "composer dump-autoload -o" and "bin/magento setup:static-content:deploy".
<s>[INST] In what order should the commands be run if you plan on updating the autoloader according to Magento best practices? [/INST] If you plan on updating the autoloader in Magento the commands should be run in the following order: "composer install --no-dev" "bin/magento setup:di:compile" "composer dump-autoload -o" and "bin/magento setup:static-content:deploy".</s>
In what mode is Adobe Commerce on cloud infrastructure not supporting the Developer tab and options?
null
Adobe Commerce on cloud infrastructure does not support the Developer mode.
<s>[INST] In what mode is Adobe Commerce on cloud infrastructure not supporting the Developer tab and options? [/INST] Adobe Commerce on cloud infrastructure does not support the Developer mode.</s>
In what mode are the Developer tab and options available?
null
The Developer tab and options are available in Developer mode.
<s>[INST] In what mode are the Developer tab and options available? [/INST] The Developer tab and options are available in Developer mode.</s>
In Magento how does the storage of logs influence other disk operations and web node availability?
null
In Magento the storage of logs and its impact on other disk operations can affect the availability of web nodes particularly in high-load situations.
<s>[INST] In Magento how does the storage of logs influence other disk operations and web node availability? [/INST] In Magento the storage of logs and its impact on other disk operations can affect the availability of web nodes particularly in high-load situations.</s>
In Magento how can you configure secondary connections for MySQL database and Redis instance for load balancing?
null
In Magento to configure secondary connections for MySQL database and Redis instance for load balancing you can edit the MYSQL_USE_SLAVE_CONNECTION and REDIS_USE_SLAVE_CONNECTION values in the .magento.env.yaml file. Setting the values to true creates a secondary connection for read-only traffic and setting to false removes any existing read-only connection array from the env.php file.
<s>[INST] In Magento how can you configure secondary connections for MySQL database and Redis instance for load balancing? [/INST] In Magento to configure secondary connections for MySQL database and Redis instance for load balancing you can edit the MYSQL_USE_SLAVE_CONNECTION and REDIS_USE_SLAVE_CONNECTION values in the .magento.env.yaml file. Setting the values to true creates a secondary connection for read-only traffic and setting to false removes any existing read-only connection array from the env.php file.</s>
In a virtual machine development environment what page load time should be considered for review of environment settings?
null
If it takes longer than 2 seconds to load a Magento page on a virtual machine in a development environment you should review your environment settings.
<s>[INST] In a virtual machine development environment what page load time should be considered for review of environment settings? [/INST] If it takes longer than 2 seconds to load a Magento page on a virtual machine in a development environment you should review your environment settings.</s>
In a single web node setup what are the recommended options for storing cache data?
null
Either use the filesystem with cache folders on a RAM filesystem or a local Redis server configured to use sockets for direct connections.
<s>[INST] In a single web node setup what are the recommended options for storing cache data? [/INST] Either use the filesystem with cache folders on a RAM filesystem or a local Redis server configured to use sockets for direct connections.</s>
In a real-world scenario what is the recommended approach to testing storefront deployment in Commerce?
null
In a real-world scenarioit is recommended to test storefront deployment in Commerce using Chrome's native throttling profile of "Slow 3G" to simulate common user connection realities.
<s>[INST] In a real-world scenario what is the recommended approach to testing storefront deployment in Commerce? [/INST] In a real-world scenarioit is recommended to test storefront deployment in Commerce using Chrome's native throttling profile of "Slow 3G" to simulate common user connection realities.</s>
How should the memory_limit be configured in PHP settings to guarantee successful execution of all Commerce instances without dumping data or code to disk?
null
memory_limit should be set to 1G. For debuggingincrease this value to 2G.
<s>[INST] How should the memory_limit be configured in PHP settings to guarantee successful execution of all Commerce instances without dumping data or code to disk? [/INST] memory_limit should be set to 1G. For debuggingincrease this value to 2G.</s>
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
4
Edit dataset card