/node/{id} not working for 404 exclusion

Created on 15 February 2023, over 1 year ago
Updated 23 February 2023, over 1 year ago

When our 404 gets hit (by bots), those are getting cached as they have multiple different test URLs.
So we get TONS of cache files for nothing.

Our 404 page is set to /node/5871 in /admin/config/system/site-information

I tried entering the 404 node ID within the "Pages to exclude" field ( /node/5871 ), the pages are still getting cached.

So, to test I created a specific content type for the 404 page and excluded the whole content type, this works and does not create cache files.

Is there any way of making this work without creating a specific content type?
Why the /node/{id} does not work for the 404 page in the "Pages to exclude" field?

Thanks!

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada MastaP

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024