Event if a post / topic changes?

Discuss general development subjects that are not specific to a particular version like the versioning control system we use or other infrastructure.
Locked
kilobyte3
Registered User
Posts: 2
Joined: Mon May 17, 2021 6:07 pm

Event if a post / topic changes?

Post by kilobyte3 »

On my site, I have a standalone Phpbb forum and I got a list about the latest posts/topices. So far it's very good, but this requires two SQL queries, and I need to eliminate them, out of performance purpose. I want to cache those 2 list, but of course if a new topic created/deleted/posts updates, this cache should be erased. So far I haven't found a good Phpbb event. Or I couldn't even figure out how to subscribe on these events. Any idea?

User avatar
hanakin
Front-End Dev Team Lead
Front-End Dev Team Lead
Posts: 968
Joined: Sat Dec 25, 2010 9:02 pm
Contact:

Re: Event if a post / topic changes?

Post by hanakin »

this forum is for the development of the software for all question related to coding and modifying it pleas use the forums on https://www.phpbb.com/community/index.php
Donations welcome via Paypal Image

kilobyte3
Registered User
Posts: 2
Joined: Mon May 17, 2021 6:07 pm

Re: Event if a post / topic changes?

Post by kilobyte3 »

hmmm, ok, please delete this topic

User avatar
bonelifer
Community Team
Community Team
Posts: 118
Joined: Mon Jan 31, 2005 10:41 am

Re: Event if a post / topic changes?

Post by bonelifer »

As such, locked.
William Jacoby - Community Team
Knowledge Base | phpBB Board Rules | Search Customisation Database
Please don't contact me via PM or email for phpBB support .

Locked