Free and Unlimited Web Hosting

What does the hits limit mean?

What does the hits limit mean?

One of the limits InfinityFree enforces is the “hits” limit. This article explains what a hit is, how you can control your hits usage and what happens if you exceed the limit.

What is a hit?

A hit is a request to a file on your website, which can be a HTML or PHP page, an image, a CSS file or something else.

A hit is not the same as a page view, visit or visitor. Visitor can visit your website multiple times, a visit can include multiple page views, and a single page view can include multiple hits.

If a visitor loads a single page which has two CSS files, three Javascript files and five images, that will generate a total of 11 hits to load that page. If your website code makes any requests to your website in the background (like with a chat script), these requests count towards your hits usage as well.

Note that website analytics tools like Google Analytics do not record the number of hits your website receives. The number of hits can only be recorded on the server, and not by a Javascript snippet included in the web page itself. Analytics tools are useful information to tell how people interact with your website, but not how it affects server load.

Because analytics tools only report visitors, visits and page views, the numbers reported by analytics tools are always lower than the hits usage of your account. This is because analytics tools measure different things.

You can view your hits usage through the Account Statistics section in your control panel.

How much hits do I have?

InfinityFree enforces a limit of 50,000 hits in a single day. Your hits usage counter is reset every 24 hours at an arbitrary time of day (not necessarily at midnight).

If you reach 50,000 hits in a single day, your account will be taken offline for 24 hours. After roughly 24 hours, your account will be reactivated completely automatically.

However, note that the 50,000 hits limit is only a hard limit. If your hits usage is consistently high, InfinityFree cannot keep hosting your website either.

Why is my hits usage so high?

There are various reasons why your hits usage was so high. For example:

  • Your website received a lot of page views.
  • Your website has a lot of additional files which need to be loaded.
  • Your website received a (D)DoS attack.

How do I reduce my hits usage?

Here are some recommendations to help reduce your hits usage (and make your website load faster in the process):

  • Remove unnecessary Javascript and CSS files from your pages.
  • Leverage browser caching to reduce the number of hits for subsequent page views.
  • Combine Javascript and CSS files to single files.
  • Enable a caching service like Cloudflare on your website to reduce requests to static files.

The tips above don’t work for me, how do I keep my website online?

If your hits usage is still too high after following the recommendations above (or you are having trouble applying the tips to your website), please consider to upgrade your account to premium hosting.

With premium hosting, there is no limit on how many hits your website can get. All the other resource limits are far more generous as well, so your website can continue to grow. Add to that the other great features of premium hosting, like free SSL certificates, Cloudflare RailGun and an award winning cloud hosting platform, and you can be sure your website will stay fast and reliable.

Still have questions? Check our forum!

Forget the stereotypes of free hosting!