WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
[resolved] How to cache 404's? (3 posts)

  1. jimsky7
    Member
    Posted 3 years ago #

    Periodically my clients' blogs get hammered by bots (many GETs per second) that have "erroneous" URLs they are requesting. W3 Total Cache handles bots pretty well for pages that exist, but if a page is 404, then the 404 page isn't cached and the attacking bot just overwhelms us because every 404 requires generation of a full page.

    Yes, we can create a streamlined 404, and will do that, but ultimately it would be nicer if W3 Total Cache could cache response code 404 pages as well as response code 200 pages. Would save us a lot of stress on the servers.

    Any ideas on whether this is feasible?

  2. jimsky7
    Member
    Posted 3 years ago #

    To answer my own question, W3TC has a setting under -Page Cache- where you or I can select "Cache 404 (not found) pages." Lots of options and it was already there.

    No response needed.

  3. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    Glad you sorted that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic