For now, only clear feed aggregation cache if clear all cache is requested.
This commit is contained in:
@@ -194,12 +194,15 @@ feature -- Hook
|
|||||||
p: PATH
|
p: PATH
|
||||||
dir: DIRECTORY
|
dir: DIRECTORY
|
||||||
do
|
do
|
||||||
|
if a_cache_id_list = Void then
|
||||||
|
-- Clear all cache.
|
||||||
p := a_response.api.files_location.extended (".cache").extended (name)
|
p := a_response.api.files_location.extended (".cache").extended (name)
|
||||||
create dir.make_with_path (p)
|
create dir.make_with_path (p)
|
||||||
if dir.exists then
|
if dir.exists then
|
||||||
dir.recursive_delete
|
dir.recursive_delete
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
block_list: ITERABLE [like {CMS_BLOCK}.name]
|
block_list: ITERABLE [like {CMS_BLOCK}.name]
|
||||||
-- List of block names, managed by current object.
|
-- List of block names, managed by current object.
|
||||||
|
|||||||
Reference in New Issue
Block a user