General Questions About Server Management

yes use PHP-FPM over FastCGI

Sorry for delay. Have a look at the guide for configuration Nginx on VPS.

Did you guys also implement the Engintron Nginx for Cpanel or did you opt for another version of Nginx ?

We've been deploying Engintron for a few customers and so far no issues there.

I don't want to be rude, but it sounds like you don't have enough experience with Linux systems. We use CentOS 6.x and 7.x on our servers without any problems and disadvantages. It just works as expected.

I am no snowflake so I do not perceive your answer as offensive, I appreciate some honesty.
I do not have that much experience that is true. In a way the GUI of Windows has spoiled me. If would certainly appreciate link to a handbook / linux cookbook Server Management for Dummies if that exists. Sofar no such luck on my part.

Sorry for delay. Have a look at the guide for configuration Nginx on VPS.

Gleb, again why Ubuntu, why is Ubuntu so prevalent in all the tutorials from CS Cart. I have not been around CS Cart as you have, why is that. Is Ubuntu as a linux distro so much easier to handle than say CentOS ?

We've been deploying Engintron for a few customers and so far no issues there.

I have been using Engintron as well, however the best performance can be gotten from optimizing a theme or CS Cart store. I for one have no real comparitive information on how well a CPanel Engintron combi performs against a non control panel server with standard bare bone CS Cart install

, PHP7 and plain MySQL

Gleb, again why Ubuntu, why is Ubuntu so prevalent in all the tutorials from CS Cart. I have not been around CS Cart as you have, why is that. Is Ubuntu as a linux distro so much easier to handle than say CentOS ?

Well, I know, it looks strange, but Ubuntu has been chosen with some reasons. I'm not a Ubuntu fan and actually I prefer working with CentOS/RHEL/Scientific Linux, but for me it's no more than a habit and personal preferences. A lot of CS-Cart core developers and Simtech Development's employees use Ubuntu Linux as a main distro on desktop.

First of all, it's cheaper than buy something else such as Windows or MacOS. Secondly, it's connected with the server environment which is usually Linux or UNIX-like system. Thirdly, Ubuntu is a user-friendly distro which are not so difficult to use unlike other distros such as Debian, Arch Linux and so forth when you really need an experience with using it. Well, probably that's the reason of using Linux Ubuntu in tutorials and guides.

I am no snowflake so I do not perceive your answer as offensive, I appreciate some honesty.
I do not have that much experience that is true. In a way the GUI of Windows has spoiled me. If would certainly appreciate link to a handbook / linux cookbook Server Management for Dummies if that exists. Sofar no such luck on my part.

I suppose, that a operating system is just a tool for solving tasks and problems. So, if you're really interested in learning Linux, I recommend you choose the task and start read about software, which you want to use to accomplish them.

From google page speed. How do I set following

Leverage browser caching
Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.
for

Thanks

Images/css/js should already be cached. The way the algorithms should work is that it requests the modification time of the cached items. If they are greater than the cache time or the cache time has expired, then it requests the item (this is done in one request).

Your links generate 404's so not quite sure what you're referencing....

From google page speed. How do I set following

Leverage browser caching
Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.
for

Thanks

You can't set browser caching for Google Analytics and Google Maps javascript files because you have no access to Google's servers to modify web-server configurations. Release management is major reason of usage short expiry time for javascript code of their services. Unfortunately, there is no way to say your browser to forget previous versions of static content if it has been already successfully cached.

So why page speed from google uses such criteria no one can change..

You can't set browser caching for Google Analytics and Google Maps javascript files because you have no access to Google's servers to modify web-server configurations. Release management is major reason of usage short expiry time for javascript code of their services. Unfortunately, there is no way to say your browser to forget previous versions of static content if it has been already successfully cached.

Another question.

cs-cart has changed icons to font awesome in admin backend since 441 I think. Now no matter I am on demo site or my own, I get sometimes this less then a second gap when page has no styling.

For some reason I do not like idea to have fonts (additional fonts for icons) be on remote server, am I thinking right, or I worry over nothing?

Unfortunately, there is no way to say your browser to forget previous versions of static content if it has been already successfully cached.

For some reason I do not like idea to have fonts (additional fonts for icons) be on remote server, am I thinking right, or I worry over nothing?

It is a concern, but it's one of those things that you can't do much about and which is becoming more of a trend for a lot of content. There are advantages and the fonts should certainly be cached in your browser.

The advantage is that if you visit multiple sites that all use the same font family, your browser will have them cached and they will not have to be loaded. So if you're not first in line, you get a benefit.

1 Like

I came here because I was having trouble with the documentation from the CS Cart site about using ansible to create a dev environment. I’m now confused because some older posts here say that you absolutely cannot support ansible. But your official documentation says almost the opposite; it seems to be recommended.

Anyway, I get the following error when I try to run the instructions from the official documentation.

I issue this command:
sudo ansible-playbook -e @config/main.json -c local -i inventory_php73 lemp73.yml

And then get this error:
fatal: [127.0.0.1]: FAILED! => {ā€œchangedā€: false, ā€œmsgā€: ā€œThis version of the operating system is not supported!ā€}

I am running Ubuntu 22.04.4, the ARM version.

i enquired with simtech about the advertising banner on your site that offered for you to check out my server for speed and advise in required changes to get the best performance…www.hivis.co.uk

Hello, you don’t have critical problems with the server part, yes, you use the old HTTP protocol, etc, but this is not so bad, your page generation time looks good, but you have a big problem with your template. As for me page generation takes around 200-300ms this is ok

but the page makes 900+ requests for resources like images and this takes almost 20 MB for download. So server optimization is needed but don’t give as big an effect as you expect. First, fix your template and when this will be ok you can go to server part optimization.

In its current state, the Ansible scripts only support Ubuntu 18.04 (which has ended standard support in April 2023). We have plans to release documentation with instructions on how to deploy CS-Cart in a Docker container, but unfortunately I don’t know when it will be released.