How to Use VergeCloud Web Boost for Faster Page Load Times and Performance

Enhancing Website Speed with VergeCloud Web Boost: A Guide to Page Acceleration

Boost Web Pages

The web boost feature allows you to enhance the loading speed of your website. This improvement can significantly boost your website’s SEO and enhance the overall user experience.

Glossary

  • SEO: Search Engine Optimization, the process of improving the visibility of a website in search engines.
  • CDN: Content Delivery Network, a network of servers that delivers web content to users based on their geographical location.
  • API: Application Programming Interface, a set of rules that allows one piece of software to interact with another.
  • WebP: A modern image format that provides superior lossless and lossy compression for images on the web.

Real Usage Scenarios

Consider a large e-commerce website that serves thousands of visitors daily. By implementing VergeCloud's web boost features, the website can load faster, ensuring that users have a seamless shopping experience, ultimately leading to higher conversion rates.

Field/Option Descriptions

CSS and JavaScript Optimization

Enabling this option compresses your website's CSS and JavaScript files, removing unnecessary spaces and comments to enhance loading speed. You can also enable optimization individually for CSS and JS files using page rules.

How to Add/Edit/Use the Feature

  1. Log in to your VergeCloud dashboard.
  2. Navigate to the web boost settings.
  3. Enable CSS and JavaScript optimization.
  4. To optimize individually, create page rules for CSS and JS files.

API Example


curl --location --request PATCH 'https://napi.vergecloud.ir/cdn/4.0/domains/example.com/acceleration' \
--header 'authority: napi.vergecloud.ir' \
--header 'accept: application/json, text/plain, */*' \
--header 'authorization: API KEY 1 2 3 4' \
--header 'Content-Type: text/plain' \
--data '{"status":"on","extensions":["css"]}'
    

Image Compression

This feature allows for automatic conversion of PNG, JPG, and GIF files to WebP format, improving loading times. Keep in mind that web acceleration occurs only after content is cached on VergeCloud edge servers.

How to Add/Edit/Use the Feature

  1. Access your VergeCloud dashboard.
  2. Go to the image compression settings.
  3. Activate image compression for the desired file types.
  4. ![](image-placeholder.png)

API Example


curl --location --request PATCH 'https://napi.vergecloud.ir/cdn/4.0/domains/example.com/acceleration' \
--header 'authority: napi.vergecloud.ir' \
--header 'accept: application/json, text/plain, */*' \
--header 'authorization: API KEY 1 2 3 4' \
--header 'Content-Type: text/plain' \
--data '{"status":"on","extensions":["png"]}'
    

Image Resizing

The Image Resize feature allows for dynamically resizing images based on user requests, significantly reducing processing power and storage requirements. This feature supports JPG, PNG, and WebP formats, with a size limit of 2 MB and dimensions not exceeding 3000x3000 pixels. Images beyond these specifications will not be resized.

How to Add/Edit/Use the Feature

  1. Log into the VergeCloud dashboard.
  2. Navigate to the image resizing settings.
  3. Activate the image resize option.
  4. ![](image-placeholder.png)

API Example


curl --location --request PATCH 'https://napi.vergecloud.ir/cdn/4.0/domains/example.com/image-resize' \
--header 'authority: napi.vergecloud.ir' \
--header 'accept: application/json, text/plain, */*' \
--header 'authorization: API KEY 1 2 3 4' \
--header 'content-type: application/json' \
--data '{"status":"on"}'
    

Testing and Validation

To validate the configurations, you can use tools like curl to test API responses or dig for DNS records. Ensure that the changes you made reflect correctly in your website’s loading speed and image processing behavior.

Testing Example


curl -X GET 'https://napi.vergecloud.ir/cdn/4.0/domains/example.com/acceleration' \
--header 'authorization: API KEY 1 2 3 4'
    

Utilize the command above to check the current status of web acceleration features.