Dani 4,532 The Queen of DaniWeb Administrator Featured Poster Premium Member

I modified our database library today to not connect to the database unless required. Previously, it automatically connected on every page. However, especially on pages that just pull from the cache, database connections aren’t necessary. Hopefully this should provide some incremental performance improvements. In the meantime, please keep an eye out for database errors because I coded half-asleep today.

P.S. There was already an error I discovered preventing me from posting this just now.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.