Page being hammered by guests despite no privileges
Posted
#9148
(In Topic #3132)
Standard member

Right now I have 96 guests on my site even though the average is usually well under 20. When checking the 'Users on-line' it appears dozens of them are viewing the same page even though the privileges for that page are unchecked for guests.
Is there an issue with page privileges?
I have recently had to firewall block all AWS IP addresses from Asia as these too were hammering my site (page performance increased by 5 fold once I'd done it) so I'm clearly in the limelight.
I need to get on top of this issue in a more organised way as the current guests are all single IP addresses from legitimate providers. Can anybody offer any solutions for this problem?
Your feedback would be very much appreciated.
TQ
Posted

Site staff

To edit permissions in Composr you can either use:
- The Permissions Tree Editor
- Disparate configuration (described in sections below)
Another feature of the Permissions Tree Editor is the ability to make batch selections and apply permissions to everything selected. You can do this in the conventional way using the Ctrl/Shift keys (Option/Shift keys on a mac).
Composr Tutorial: Access control and privileges – Composr
Posted
Standard member

The page in question has a red dot in the 'Permissions tree editor' for Guests so, if everything is working correctly, they may be receiving an error but the 'users on-line' list still displays the page title (not the page name).
I don't much mind if that particular page is being read, I'm more concerned about the volume of traffic and the underlying reason why so many IP addresses are simultaneously probing the site. The fact that it's that page is just the giveaway.
I would consider running it as a members only site (must be logged in to see anything) if guests could sign-up and my preferred search engine bots could still scrape the site, if that's even possible.
Thanks again.
TQ
Posted

Site staff

I imagine bots can still visit the sitemap.xml on a Members only website. You could try experimenting with adding a robots.txt in the root of your install and see if that helps? Not all bots respect it but the main ones do. What Is A Robots.txt File? Best Practices For Robot.txt Syntax - Moz
Posted
Standard member

Thanks again
TQ
Posted

Site director

Primarily block at the webserver level (e.g. htaccess), as any hit to Composr will use some level of resources.
Getting the static cache working for guest users is also a good approach as it significantly reduces the computational cost of common guest hits to common URLs.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Posted

Standard member

1 guest and 0 members have just viewed this.