DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Integrating PostgreSQL Databases with ANF: Join this workshop to learn how to create a PostgreSQL server using Instaclustr’s managed service

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • React, Angular, and Vue.js: What’s the Technical Difference?
  • What Is React? A Complete Guide
  • How To Develop a Modern Image Gallery With HTML, CSS, and JavaScript
  • Reasons to Use Tailwind CSS in React Native Development Projects

Trending

  • Unleashing the Power of Microservices With Spring Cloud
  • Database Monitoring: Key Metrics and Considerations
  • JWT Token Revocation: Centralized Control vs. Distributed Kafka Handling
  • Exploring Sorting Algorithms: A Comprehensive Guide
  1. DZone
  2. Coding
  3. Languages
  4. 5 Steps to Slowing Down Your Site

5 Steps to Slowing Down Your Site

Looking to really slow down your site? Have a look at these five ways and see if you can't use them — or learn from them.

Mehdi Daoudi user avatar by
Mehdi Daoudi
·
Apr. 04, 16 · Opinion
Like (9)
Save
Tweet
Share
5.33K Views

Join the DZone community and get the full member experience.

Join For Free

...Because who even cares about customer experience, right?

Are you tired of providing a satisfactory experience to your web site visitors? Do you loathe the fact that your competitors look at your performance metrics as the ones to beat? Those Facebook “likes” and social sentiment from your happy customers—want to get rid of them? Well hold on tight, folks–you’re abut to learn the top five ways to make your website load as slow as molasses.

HTTP Requests

There’s no better way to slow your website down than to have an excessive amount of requests. Sprites, concatenated JavaScript, and CSS files will only speed things up. Why limit yourself to 70 or 80 requests when you can have 700 or 800?

Text Based Compression and Maxification

Have you been compressing text-based content? If so, stop. Compressing text-based content will only speed things up and improve your customer experience. That being said, don’t stop compressing things altogether, though. If you want to hit that snail’s pace, you should definitely compress binaries and compressed images like JPEG’s. Double compressing files is a failsafe way to slow things down. While you’re at it, add plenty of white space and comments to your JavaScript and CSS files. If your users ever decide to look at them, you want to make it easy for them to read your code.

Keep-Alive

If you are using keep-alive, turn that bad boy off! You want the browser to open a brand new connection for each and every one of the hundreds of requests you make.

Synchronous Loading of JavaScript

Are you truly dedicated to slowing down your website? Try loading and executing your JavaScript synchronously. That way if one JavaScript file gets hung-up, nothing else on the page loads. Nothing else adds agonizing time to your users’ visits quite like synchronous loads.

Images

Make your images as big and rich as possible. Use the full 12 mega-pixel image and don’t even think about compressing it. You want your users to see every blemish and little speck of dust in the images you use.

These five tips are just the low hanging fruit. There are plenty of ways to slow your site down; all you have to do is be a little creative.

JavaScript Requests code style CSS Fruit (software) facebook Space (architecture) Metric (unit)

Published at DZone with permission of Mehdi Daoudi, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • React, Angular, and Vue.js: What’s the Technical Difference?
  • What Is React? A Complete Guide
  • How To Develop a Modern Image Gallery With HTML, CSS, and JavaScript
  • Reasons to Use Tailwind CSS in React Native Development Projects

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: