User login

Public

Override Panels 3 layout theme templates

To theme a panels layout you simply copy a .tpl.php file from modules/panels/plugin/layouts/[tempate_name]/panels-[template-name].tpl.php
to your theme directory (or any subdirectory of your theme directory.

Note that the CSS file is not overridable the same way.

Boost caching: what refreshes it and how?

A normal (node) page triggers the Drupal-integrated Boost cache to expire and replace the page whenever you edit it. Editing a view unfortunately does not have such triggers. In this case the views are attached to a node, so simply resaving the node rebuilds the cache.

In most cases the view itself will not be modified, rather, you will add or edit a node associated with a view which also refreshes the cache for that views pages. (Note this takes a bit of processing to look up, and i don't think it will apply for blocks.)

Launching a relatively big site, lessons learned

Lessons:

Make sure pathologic is setting the right root URL before boost runs. It seems the very first cron run pathologic still has the old site's information, or rather more likely the page cache or the node cache still has the old information, and these caches must be cleared immediately.

Never, ever have boost set to gather 1,000 pages at once-- it can try to run them all simultaneously and take out your server.

Even when you have boost, don't forget to turn back on the basic performance optimization settings when going live: CSS and JS compression.

Disallow browsing of a web directory's files

All by itself in a .htaccess file in the directory of interest (and it covers subdirectories) this will do it, for an Apache webserver:


Options -Indexes

Syndicate content