Tag: Web Dev

  • Optimizing NGINX for high-traffic websites

    Nginx

    Nginx is the most famous and widely used web server application for websites today. For static websites, Nginx is no less than a boon, while for dynamic websites it serves the need of a most efficient and lightweight webserver. The default Nginx configuration is enough to take moderate web traffic battle, but you can optimize […]

  • How do PHP developers give life to a website?

    PHP developers

    In today’s technological world, businesses have access to a large number of programming languages to construct websites and apps, including Python, Java, Kotlin, Swift, Node, C#, C, and C++, PHP, etc. However, most businesses prefer to hire PHP developers for web development, as it’s an open-source and flexible coding language. Furthermore, PHP is comparatively very […]

  • What is Time to First Byte (TTFB)?

    Time To First Byte, TTFB, is a measurement used to indicate the responsiveness of the web servers and resources. In the web development and hosting industry, time to the first byte is used to define the initial server response time, which is the very first piece of code or file that a browser receives upon […]

  • How to reduce initial server response time?

    Once you test your website on benchmarking tools like — PageSpeed, GTmetrix, Pingdom, or WebPageTest; you might have encountered a red signal that says to reduce initial server response time. What is that? If you do not know what is response time, then take it as how fast a web page opens up for you […]

  • How to reduce server response times?

    DevTools: Waterfall

    While optimizing a website for a greater performance we need to improve its foundation, which is server response time or time to first byte (TTFB). In an earlier article we learned about the TTFB, and we learned that the server’s latency affects the website speed. When we test a website on tools like GTmetrix, Lighthouse, […]

  • How to remove website (URL) field from WordPress comments?

    WordPress bloggers who loves content sharing and engaging their followers uses comment section to express opinions of other fellow bloggers and readers. But that comment section is also the most spammed section in the WordPress, as you know there are end numbers of annoying scrappers, auto comment bots, and similar tools that spam the WordPress’s […]

  • How to redirect 404 to homepage in Nginx?

    Nginx

    When a requested URL is not available or not found it’s advisable to redirect them to another URL or to a homepage that’s user-friendly. Nginx web server allows us to redirect off such 404 error pages to a custom URL, all we need to do is instruct Nginx’s site configuration to redirect such pages, and […]

  • How to cache static content on Nginx?

    Nginx

    Here in this post I’ll show you how to cache static content or files on Nginx. If you are not caching static content yet, tune it now, you’ll gain more speed just doing it. I’m assuming that you know the configuration directories and files of nginx and we can set the parameters in an http […]

  • Default NGINX Configuration

    Image of NGINX, a web server.

    Nginx configuration file located at /etc/nginx/nginx.conf has everything that makes a server flies or sinks. Below we have explained what each directive does. Let’s have a look and fine-tune your settings: Before we hit to configurations directly understand the structure first. HTTP Block: Global configurations. Server Block: Domain level configurations. Add inside the HTTP block. […]

  • How to reduce Time to First Byte (TTFB)?

    DevTools: Waterfall

    For anyone, a fast website makes a noticeable difference. Even search engines like Google and Bing appreciate faster websites compared to the slower ones. But when it comes to rankings, yes a fast website makes a small difference. Note that engaging content is still a ranking factor, just fast site speed will never going to […]

  • How to build a website and market it?

    Website Design and Development

    You want to start your own online business or want to start your website to represent your physical store. Of course, you need to go through a lot of preparations. Do not assume, that without knowing anything, and by just hiring third-party services and outsourcing things your site will work and bring you loads of […]

  • NetworkError: Failed to execute ‘send’ on ‘XMLHttpRequest’

    NetworkError: Failed to execute 'send' on 'XMLHttpRequest'

    Recently we enhanced our security headers and started facing ‘error in processing request’ in ajax calls. Error text: NetworkError: Failed to execute ‘send’ on ‘XMLHttpRequest’: Failed to load ‘http://masked.url/ajax.php’. (rejected) It seems that the connection to the server has been lost. Please check your network connectivity and server status. After troubleshooting, we found that there […]