Archive

- Posts Tagged ‘Cache’

Compressing CSS Files on the Fly

Compression can be done using Apache or PHP settings. If you are not using those two methods and using this method of clearing cached CSS file on Client side then the code below by Reinhold Weber can be useful. Using the below method for trimming whitespace and comments may not… (Continue)

How to Clear Browser Cache ?

Here is an article for - How to clear your browser cache? It is not a question for most of you but I am writing it for all those who are reaching at How to Delete Cached File on Client Side ? when they just want to delete his own… (Continue)

How to Delete Cached File on Client Side ?

How do you delete the file that is cached on Browser due to future expire header set by your web application? Future expire header is suggested for static content such as image, CSS and JavaScript. These are the contents that rarely change and can be set in future. If you… (Continue)

WinCache 1.0 – Windows Cache Extension for PHP

WinCache 1.0 for PHP 5.2 and 5.3 is a PHP accelerator that aims to increase PHP applications speed running on windows platform. WinCache extension doesn't require any code change. WinCache can cache PHP Opcode, PHP scripts, and can cache relative File Path information. It has provided many configuration options from… (Continue)

How does an Accelerator works?

If you are not familiar about accelerator then read this article on Web Caching first. Executing a PHP scripts needs few steps: 1. PHP loads the file.2. It parses the source file, and transforms it into opcode (code that can be executed by the server),3. It executes the opcode. The… (Continue)

Web Caching

Web Caching is the caching of data in temporary memory or permanent memory so that we do not have to execute same code over some period of time. Here time period will depend upon how frequently your content change. Many content we send to client do not change every minute.… (Continue)

Various Issues, Tips and Methods

These tips are for those who have experience in PHP platform of at least 2-3 months. These tips will help you directly dive into some of the things that mostly overlook at learning time and latter create problems in writing good code and building confidence. Create/maintain blocks of code Use… (Continue)