Forum OpenACS Development: Response to ACS 4.x won't scale (I hope I am wrong)

Collapse
Posted by Jay Dubanik on
Finally I found this thread, I was already waried that there is something wrong with my server.

Somebody here mentioned that we should call ad_permission_p proc wisely.

I have noticed that this proc is called for every little object (image) you add to your adp page.
So if you have 10 little thumbnails added to your index.adp page( and keep them in /image directory) then ad_permission_p is called for every one of them, do you like or not.

Question: How do you guys avoid it? I don't want to check for permissions on every little image.