Skip to content
This repository was archived by the owner on Dec 13, 2022. It is now read-only.
This repository was archived by the owner on Dec 13, 2022. It is now read-only.

Setting cacheTTL to 0 in config.php does not seem to stop caching? #42

@shoesforindustry

Description

@shoesforindustry

Setting cacheTTL to 0 in config.php does not seem to stop caching?

'omz13.xmlsitemap' => [ 'cacheTTL' => 0, ...
It does work if you set it to false (so. the cache is disabled)
Setting to null causes a crash

The docs say:
"cacheTTL : the number of minutes that the xml-sitemap should be cached before being regenerated; if explicitly set to zero, the cache is disabled. If not specified a default of 10 minutes is assumed."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions