Joomla Site was Slow - joomla

I have project to create elearning website using joomla and there are videos and many images in my site .i used hypervisor as server with Specification Processor : 1 Core Intel Xeon E5640 , Memory: 4 GB , when 50 user accessed my site , the loading page was too slow. any recomendation server for my site?

It won't necessarily be your server. Unless you have taken the appropriate steps to reduce images and videos they could be reduced by 70%, this will instantly speed things up
check out the following
Tiny Jpg
Tiny Png
Also google how to reduce video size.
Look at a CDN (cross distribution network) to serve your content locally
Also Sprite maps and optimization for repeated elements like Buttons etc.
Use CSS to replace things like buttons.

Related

Video (mp4) loading optimization for small web project

I'm currently developing my portfolio website using Nuxt3 in the frontend and Netlify for hosting. The site contains a fair amount of videos and although most mp4 files are not excessively large in size (1.2 - 1.4mb), requesting them directly from my server has taken a strain on the loading times of my site.
Aside from lazy-loading and compressing, what further steps could I take to optimize the loading speed of my videos? I am aware of CDNs such as Amazon Cloudfront and Cloudinary, but uncertain as to which would be most suitable for a small portfolio project.
Since this is quite a general question, any pointers to other techniques and best practices are much appreciated. Thank you for the help!
Like images, video can have a billion things you can optimize and fine tune.
If it's a small portfolio project, just use Cloudinary. It will be super simple, highly optimized for you, will probably fall under a free tier and won't need reading a 400 pages book on how to work with various codes, containers, buffering etc etc...

How to compress images on SERVER

I have a website which is also a social media networking website where user can upload profile, cover & article picture.
So currently there are around 25000+ Images available many of them are even 2 MB- 10 MB large, so i want to compress them all at once.
Is that possible if yes then please specify how i can do that, because currently i'm using huge band-witch and also site is pretty slow.
Thanks!

Best Way to Reduce Bandwidth Usage with Magento eCommerce

Currently I am working on a website that is using the Magento eCommerce platform.
Although the website has only seen about 1,000 visitors over a 30 day period, it is using over 70 GB of bandwidth. The website has Cache enabled to help reduce the amount of resources it takes to load each page, but it does not appear to be helping. I was hoping to find some pro tips on how to reduce the amount of bandwidth usage to avoid costly overage fee's with the hosting provider.
The website is http://fantasyfootballdraftboard.net if you would like to review the site. The primary purpose of the website is to sell fantasy football draft boards online, so I would prefer not to remove the large image on the home page. I've used Pingdom speed test, and it claims the site only uses roughly 2.5 MB of bandwidth to load each page. After a pretty in-depth analysis of Google Analytics, Page Views, and the amount of bandwidth it takes to load each page (2.5 mb according to Pingdom), the numbers just do not add up.
Does anybody have any suggestions or ideas for me? Does Magento use a lot more resources and bandwidth than other eCommerce websites?
Thanks in advance,
I ran your site through webpagetest and there are a few recommendations from there. You should certainly compress your transfer. Personally, I would recommend you avoid png files for images unless you really need them (eg for see through effects). Jpegs are much more efficient and compressed.
Go through webpagetest and I'd bet you could knock off at least a megabyte!
I am check your website, but find any problom.
and bandwith is no relation magento system.
maybe your image are other site used or stolen ftp password by cracker,
HTTP_REFERER check in apache config (or .haccess file )
http://www.webmasterworld.com/apache/4515652.htm

Speed up loading time of web page with huge gifs

I have a website with lots of huge gif images. I have limited each page to 5 imagesbut the loading time is yet very high (+60seg). The images are around 2MB in size.
Is there a way of speeding up loading? Because of the nature of the images, i think they cannot be compressed (again) because it would decrease quality significantly. The images are "soundless mini videos" of funny situations.
I also thought about creating multiple connection to download images faster (as many download acelerators do), but i doubt it to be possible on client side.
I also tried load images one per one (aka wait first image to be download and then adding through DOM the next), but total time increased (less connections = slower total download speed).
Have you some idea?
UPDATE: Solved by using cloudflare (See answer)
I solved the problem by using cloudflare
CloudFlare protects and accelerates any website online. Once your
website is a part of the CloudFlare community, its web traffic is
routed through our intelligent global network. We automatically
optimize the delivery of your web pages so your visitors get the
fastest page load times and best performance.
Now my website is loading in seconds instead of minutes, it looks my hosting service was poor.

What are the best practices for image serving?

What techniques do people commonly use for uploading, storing and presenting images with a CMS?
Do you store them in the database or on the file system?
Do you generate thumbnails on upload? Or on the fly, then maybe cache them for reuse? Or rely on browser scaling?
Typically, most content management systems will store images the actual data of image uploads to the file systems and then add a link to the file within the database. Thumbnails can either be generated on upload or on first request (on the fly is considered inefficient, especially given the cheap cost of storage). Browser scaling is a bad idea (images may be uploaded as multi megabyte uncompressed files) but is done by some systems.
i agree with kevin. i can't think of any cms that doesn't store in the file system. then only issue that comes up with that technique is if you are planning on clustering multiple web servers to run your cms. if thats the case then you have to plan on it and have the ability to point all the web servers to the same file storage location.
the technique ive used for years is on upload, resize the image to something practical for the web, then generate the thumbnail, then write them to the file system and record the pointer in the database.
if the site is a huge site then you need serve the images from cache servers because file systems are very slow in comparison to network IO. take facebook for example, they have billions of images on their site and last i heard 80% were held in cache servers around the world in ram. the file storage array they have is more or less a backup to the cache servers.

Resources