Closed (fixed)
Project:
CDN
Version:
7.x-2.x-dev
Component:
Origin Pull mode
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
30 Jan 2012 at 21:01 UTC
Updated:
14 Feb 2012 at 09:10 UTC
Most of the resources on our site are fairly static, but not static enough to use the perpetual UFI method. They are not tied to version-control so deployment_id isn't perfect either, and mtime/md5 needs to constantly poll the filesystem. So we are currently testing with another UFI method that creates a new identifier each time the drupal caches are flushed.
Still need to figure out if it is better in the long run for our specific use case, but in any case it has come in handy when debugging so I though I'd share...
| Comment | File | Size | Author |
|---|---|---|---|
| cache-ufi-method.patch | 588 bytes | mr.baileys |
Comments
Comment #1
wim leersWhile it makes sense for testing, you are aware that this means the URLs of files that haven't changed will also change? I.e. files that have already been downloaded will be redownloaded by the user.
Comment #2
mr.baileysYup, we are using it on a subset of files, and use it to aid in validating our cache stack (so more of a testing tool as you say). On the live site most files will be running mtime.
Comment #3
wim leersMakes sense. I'm going to rename it from "cache" to "Drupal cache" though, and mention that the cache is flushed e.g. when you submit the /admin/modules form.
Comment #4
wim leersD7: http://drupalcode.org/project/cdn.git/commit/71011e0
D6: http://drupalcode.org/project/cdn.git/commit/b241ecd
Improved description and added documentation, renamed from "Cache" to "Drupal cache".