QJOOMLA PHP TIPS:

Cache Size Maintenance in PHP Coding:


The beauty of client-side caching of data is that it is scalable and horizontally. The two major concerns with placing user data in a cookie are increased bandwidth because of large cookie sizes and the security concerns related to placing sensitive user data in cookies. But because the data is stored on the client browser, there are no concerns when demands for cache stor­age increase.

 

The bandwidth worries are valid though. A client's browser will always attach all cookies proper for a specific domain whenever it makes a request. Attaching a kilobyte of extra data in a cookie can have a noticeable impact on bandwidth consumption. It can be viewed that this is hugely and actually an issue of self-control. All caches have their associated costs. Server-side caching largely consumes space and maintenance time. Client-side caching consumes bandwidth. If you use cookies for a cache, you need to make sure the data you cache is smallerl.

 

Byte Nazis:


Some people take this approach to an extreme and attempt to cut their cookie sizes down as small as possible. This is all good, but always remember that if you are serving 30 KB pages (relatively small) and have even a 1 KB of cookie (which is very large), a 1.5% reduction in your xHTML size will have the same amount of effect on bandwidth as a 10% reduction on the cookie size.

 

This just implies that you should keep everything in your perspective. Often, it is easier to extract bandwidth savings by trimming xHTML, CSS and javascripts than by attacking relatively small portions of overall bandwidth usage.                                                             

 

Website design company

Affordable website design company to outsource your design and dynamic web application needs.

 

Web design resources

Web design and related resources

 

Bangladesh website hosting

Quality linux, cpanel hosting solution from Bangladesh

 

Flash web design

Flash based website design company.


 

 

 

we work with:

qjoomla.com is not affiliated with or endorsed
by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license
granted by Open Source Matters.

Qjoomla.com is a concern of
web development company : Quantumcloud.
Copyright @ 09 qjoomla.com

Joomla Official WebsiteQuantumCloud (Outsource Web Design Company)