NameSilo

Storing page title, description, keywords etc.

Spaceship Spaceship
Watch
Impact
19
hey
Is it a good idea to store your page title, description, keywords etc in a database and then retrieve it each time a user visits your website? doesn't it put alot of load on ur server?
how does vbulletin and cms softwares do it? do they retreieve the website title from database each time u refresh the page?
an example code will be nice
I want the user to be able to change the title of the website from admin panel easily..
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
vBulletin and CMS' use a cache/"datastore" system.
 
0
•••
but the data is stored in a database right? and then once a user retrieves it they store it in cache ?
 
0
•••
It's not a bad idea, but you might want to look into some sort of file caching for your queries so that you only have to pull the data once from the database and then just read it from a file later, making it faster.

But whether it makes sense to do it like that all depends on how you are coding the site.
 
0
•••
If you want to pull it from a database chances are you will not see any noticeable difference in page loading time beyond a regular SQL call.

If things are lagging look at your PHP configuration on the server.
 
0
•••
unknowngiver those details are stored in a database however systems such as phpBB vBulletin, etc etc create a cache so that they do not need to retrieve the information for data that does not change that often.

By all means the data is contained in the users cache after viewing the page but the cache Eric mentions is actually on the server and is just a mechanism to lower resources used up on the requests made upon it.
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back