You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.
hash
you could forward the $page->diruri() into getUniqueAutoId() and use it as an additional param to create the hash. it would be a pretty good unique and the very expensive check using site()->pages()->index() in getUniqueAutoIdcould be avoided.
id
why not write/read the latest value in an autoid-storage-file at /cache/? and only check for index if file is missing? that is certainly faster than site()->pages()->index() every time.
The text was updated successfully, but these errors were encountered:
cached hash to file maps
instead of using site()->pages()->index() one could also cache the results to make it faster. that is when having al lot of pages and index() is slower than a file-read.
hash
you could forward the
$page->diruri()
intogetUniqueAutoId()
and use it as an additional param to create the hash. it would be a pretty good unique and the very expensive check usingsite()->pages()->index()
ingetUniqueAutoId
could be avoided.id
why not write/read the latest value in an
autoid-storage
-file at/cache/
? and only check for index if file is missing? that is certainly faster thansite()->pages()->index()
every time.The text was updated successfully, but these errors were encountered: