CDNs – Content Delivery Networks are the transparent backbone of the Internet and are responsible for content distribution. Each of us interacts with CDNs on a daily basis; when reading articles on news sites, shopping online, watching YouTube videos, or browsing social media feeds.
To understand why CDNs are so widely used, you must first understand what problem they solve. Latency is the annoying delay that occurs from the moment you request to load a web page to the moment its content actually appears on the screen. The CDN serves to overcome this problem.
In essence, CDNs allow you to speed up the process of transferring resources to load Internet content. By now CDN services have become a fundamental element that, to date, is used by the majority of web traffic, including traffic from major sites such as Facebook, Netflix and Amazon.
The delay interval is affected by a number of factors, many of which are specific to a particular web page. In all cases, however, the length of the delay is affected by the physical distance between you and that website’s hosting server.
La missione della CDN è ridurre virtualmente quella distanza fisica, con l’obiettivo di migliorare la velocità e le prestazioni di rendering del sito.
The CDN’s mission is to virtually reduce that physical distance, with the goal of improving site rendering speed and performance.
Configuring Magento 2 CDN – Content Delivery Network (CDN) is one of the advanced solutions to consider, when the performance of your site is too low. Web loading time is an important factor that affects your user experience, as is SEO. Unlike the full page cache, the Content Delivery Network (CDN) is not fully integrated into Magento 2, so you have to choose and configure a CDN on your own.
Therefore, in this post, we will see how to install a CDN on Magento to help you achieve incredible speed on the site.
In the Base URL for static View Files field enter the URL of the location on the CDN where the static view files are stored
In the Base URL User Media Files field , enter the URL of the JavaScript files on the CDN
Open the Base URL (secure) section and continues with the following:
In the Secure Base URL for Static View Files field , enter the URL of the location on the CDN where the static view files are stored.
In the Secure Base URL for Medium User field , enter the URL of the JavaScript files on the CDN.
When done, click Save config and that’s it!
Source: MagePlaza
When it comes to open source E-Commerce platforms, there are many solutions to choose from and often this choice becomes quite critical.
We have already seen in one of our previous articles, Magento and PrestaShop and what their characteristics are.
But have you ever heard of Sylius instead? If not, in this article you will learn how it works and what features it has. I will also explain how to get started with this tool and the possibilities of extending its functionality.
An open source E-Commerce platform is software for running and managing an online business, with direct access to the source code.
Generally these solutions are free, although obviously there are collateral costs. The costs you have to incur relate to hosting, development and personalization. We can say that you decide how much to spend on each process.
Another aspect for which you can choose, according to your needs is the functionality. In fact, being able to access the source code, you can add the features you need or modify the existing ones. This clearly offers great flexibility and scalability. Like other open source platforms, those related to E-Commerce are supported by communities which can certainly be a valid help.
Sylius is an open source E-Commerce platform based on the Symfony framework. It is built with decoupled components that can be used independently in any PHP application even if it doesn’t use Symfony. Then you can decide whether to use the complete platform provided by its creators or take advantage of standalone elements to create a custom solution.
This E-Commerce tool is an API-first solution. This means that Sylius can be used as a backend for implementing JavaScript E-Commerce software such as a PWA or native mobile app. You can create an online store suitable for any size of business – a small, medium or large business.
Sylius is available in two versions:
In addition to standard Sylius features, the paid version contains enterprise-grade features such as multi-store (allowing you to sell products from multiple business units or legal entities), a loyalty system, and returns management. Let’s now take a look at the functions of a non-paid solution.
With Sylius Standard, you can create a fully functional online store with many useful features.
To discover more features and possibilities of this e-commerce solution, access the Sylius documentation .
This platform is perfectly suited to the needs of different types of companies: medium and large B2C / B2B companies, but also to startups with high development needs. Its flexibility and adaptability make it a platform that can be adapted to many different realities.
Despite this roundup of features, you may still wonder why you should use Sylius? So here are 6 reasons for you:
Headless is a word that basically describes the decoupling of the front-end of your E-Commerce from the back-end. Simply put, what sets the headless model apart is the lack of control over how the backend data will be presented to the data to the customer. In the headless approach, the most important is the content that needs to be delivered to the customer, regardless of which platform they want to access and when. To make this possible (also in Sylius), companies use APIs to synchronize data and provide control to IT teams in terms of the technology used to interact with the customer.
Basically, while in traditional ecommerce, all marketing channels, such as blog posts, newsletters, etc., are designed to bring the customer directly to the site, with headless technology, it will no longer be necessary. Purchases will be made directly from the platform through which the promotional message arrives to the customer. Will it be a mobile app, a single page app, or some other system? You don’t know, but the purchase will come by itself and that’s what matters!
The organization behind this platform has developed six open source plugins. One of them is the billing plugin which creates an invoice after a customer has created an order. Both the customer and the administrator can download this document.
In the Sylius Store you can find more than 80 different plugins and most of them are free.
Have we already talked about Sylius plugins and what about integrations with external systems? You can run it via plugin (e.g. the aforementioned Analytics Plugin) or write your own custom integration.
In this article I have shown you how Sylius is a very flexible system, which allows you to really do everything with your E-Commerce. The customization possibilities of this E-Commerce solution are its biggest advantage. With the help of Sylius experts, you can have an online store entirely tailored to your business needs.
So if you are looking for a useful tool that is easy to configure on both the admin and development side, Sylius may be the one for you.
Magento 2 is the software and E-Commerce platform trusted by the world’s leading brands. The undeniable advantages of Magento 2 make it one of the most used platforms. Some typical benefits that should be named are an ecosystem of quality extensions and highly supported E-Commerce features.
In this post, we will therefore see how to update Magento 2, so that you can be completely autonomous in this.
Creating backups for your Magento 2 site is a fundamental element because it allows you to protect all data through the Backup Manager, in case of changes or interruptions on the site.
Once the backup is done, you should put your store in maintenance mode while updating. To enable maintenance mode:
php bin/magento maintenance:enable
This will create a new var / .maintenance.flag file. If you can’t disable maintenance mode, you can remove this file
In this case, we will do an update to Magento version 2.2.1. See the latest versions on the Github download page .
First using the following command on the terminal / command-prompt:
composer require magento/product-community-edition 2.2.1 --no-update
composer update
Username and password might be requested like so:
Now it’s time to remove the cache, build. Run the following command line in the root folder:
rm -rf var/cache/*
rm -rf var/page_cache/*
rm -rf var/generation/*
Notes:
You can install Memcached, Redis cache…, you should empty those caches manually.
Run update module, database schema
php bin/magento setup:upgrade
You should compile and re-index for better performance after the upgrade
php bin/magento setup:di:compile
php bin/magento indexer:reindex
Notes:
In Ubuntu / Debian Linux, when you encounter authorization problems, remember to insert sudo at the beginning of each command as sudo composer update.
You turned on maintenance mode in step 2, now you need to turn it off. Run the following command line to disable it:
php bin/magento maintenance:disable
After that, you can check the Magento 2 version by running the command.
php bin/magento --version
If the system shows the cache write permission error, add the following command to grant write permission to the pub and var directories:
chmod -R 777 pub var
You may receive this message: “We’re sorry, an error occurred while generating this email”.
This is due to the read-write permissions for the web server. Run the following command to fix it:
find var vendor pub/static pub/media app/etc -type f -exec chmod u+w {} \; && find var vendor pub/static pub/media app/etc -type d -exec chmod u+w {} \; && chmod u+x bin/magento
Refresh the cache again.
rm -rf var/cache/*
rm -rf var/page_cache/*
rm -rf var/generation/*
Problem solved!
You have now updated your Magento!
When a merchant decides to undertake an E-Commerce business, the first challenge he encounters is to choose a platform.
In fact, there are many possibilities: Magento, PrestaShop, Woocommerce, Shopware etc, all have their positive and negative sides. But above all, each one has its specificities, which may or may not adapt to your needs.
As with many other products, it is not as easy as searching on Google for “the best e-commerce platform”. There are many factors that should be taken into consideration before making this choice.
For example, you should consider the costs related to opening your online business, costs that are not only related to the price of the platform itself. Any additional functionality you may need will typically be provided by paid apps/extensions or by custom development. And this fact also requires an additional budget.
This is why it becomes essential to make the right considerations. You will find some key elements you should look into before jumping into a new ecosystem below.
First, we must understand that all E-Commerce platforms provide more or less the same basic functionality. However, the various business models are unique and have specific needs.
This is why the requirements for an E-Commerce platform must cover more than just basic functionality.
So you need to understand what makes your business unique and how you intend to engage your customers.
One way, for example, may be to provide discounts for different goods, according to predefined rules. As a result, customers with a matching set of products in their cart should receive a discount. The discount system should include many factors that play a role in generating the final price.
In some rare cases, maybe only one thing is required in addition to the basic functionality provided by most platforms. In other cases, there are at least a couple of other extra features that are a must for a merchant’s business.
Another example is related to site search. In general, we can outline two main categories of the E-Commerce store structure:
So, if your store is going to use the second search-oriented model, you’ll need a well-organized search on your website. In this case, well-organized means support synonyms, stopwords, filters, suggestions, etc.
Also, it would be great to have AI-based research.
With these two elements of your business model, you can check the capabilities of the different platforms on the market. The main goal is to find a platform that covers the scenarios mentioned.
In addition to the functionality we were talking about above, it also makes sense to think about perspective. Most likely, if you are aware enough, you will not put everything in the very first version of your store.
This means that in choosing the platform, you will have to take one that is scalable. In this case, it makes sense to check the capabilities of the different platforms, considering the features planned for the future.
At some point in time, you will face the situation where no platform covers your particular business needs. So, you need a third party solution or developer team that will bring the missing features.
Therefore, you must take this aspect into consideration. If you see that you may need a lot of custom development in the future, it is good to check the price attached to this type of business for the different platforms available.
Another thing you should consider is the size of your catalog and visitor base. If you have a million SKUs and more, it may not be easy for some platforms to manage this amount of data.
Or, if your business model will use flash sales with hundreds of orders per minute, it could be overkill for most platforms as well.
In this case, you must therefore consider the characteristics of the various platforms, whether or not they can support a large number of products, but not only.
In fact, you must also define a hosting and its characteristics, especially if you have a lot of products and a lot of traffic. The choice of hosting also leads you to additional costs to consider.
If you are interested in a quotation, contact us and we will find the right hosting for your needs!
To sum up, when choosing an E-Commerce platform, you must first think about the following factors:
There are many other factors to consider, but in this guide we have described the most common ones, then it is up to you to decide according to your needs.