Remove permanent redirect (HTTP 301) cache in Firefox

As a web developer configuring SSL certificates on websites you deliver, as we do, you might be faced, one day, with a small issue about configuring a 301 redirect from HTTP to HTTPS that has to be reverted. It so…

More Details
On PHP and cache slams and solutions

While reading about Doctrine’s cache mechanism (which applies to other stuff than database queries, by the way), my eye was caught by a little message at the end (last section) about cache slams. I have used cache mechanisms extensively over…

More Details
Clean Redmine cache

To refresh Redmine cache, do the following from the Redmine directory (/usr/local/share/redmine, maybe ?): rake tmp:cache:clear rake tmp:sessions:clear http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade#Step-5-Clean-up

More Details
What HTTP headers do browsers send on CTRL+F5?

If you’ve been into website development, and in particular website optimization, you probably have stumbled upon that question at least once: what HTTP headers do the different browsers send when the user presses F5 or (even better) CTRL+F5, to make…

More Details
Force caching for a specific page in Varnish

Just a self-reminder, in the vcl_recv section (before sending request to the backend), check the url you want to always serve from cache and tell it to return(lookup);   if (req.url ~ “request_server.php$”) { return(lookup); } Reload Varnish and get…

More Details
Building a cache cleaner from devel for Drupal 5

In a particular context, it happened to me to have to reproduce a cache cleaner feature for Drupal 5 without installing the Devel module. Although this article doesn’t create anything new, I thought it might be worth explaining in case…

More Details

Quick Contact Form