Closed (fixed)
Project:
Cache Expiration
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Apr 2013 at 10:57 UTC
Updated:
30 May 2013 at 10:51 UTC
If content editors are changing/creating content on a subdomain such as admin.* the expire module is triggering a purge request using the FQD of http://admin.example.com/node/1234 format.
Because this isn't being cached at the edge the purge achieves nothing.
What i'd propose is a text field to define what the edge c-name is, and then amend the purge urls to use this c-name value. By default it would just be the $base_url value.
Happy to develop and submit a patch for this but wanted to check if there's any other edge cases to consider for this implementation?
Comments
Comment #1
stewsnoozeI've had to hack expire module before to support this. I'd like for this to be added.
Comment #2
buddaProbably best to implement this as an expire sub-module and provide a setting form alter and implement a hook to do the magic
Comment #3
buddaImplemented as an add on module http://drupal.org/project/expire_alias