Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

easiest way to cache php + mysql

Featured Replies

I've set up a simple blog, using a php + mysql library that i downloaded. It's a simple setup, i include the connector in each page the database stuff reads in.

 

I'm now thinking if it gets any decent traffic, because it's connecting each time high traffic will cripple the db and cpu.

 

What is the easiest way for me to set up a cache so the files are served more or less static, except for a timed updte or if i force an update?

 

I don;t want to use a cms / blog distro just for the caching facility. I wish to learn myself as I go.

 

Would this be on the apache side, db, or php side? Ideally I'd like to be able to publish out a bunch of html / php files rather than call the db each time.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.