getgrav / getgrav/grav-learn

Document how asset timestamps are calculated

Open
#367 3 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
PHP
Stars
248
Forks
753
Avg merge
1d 6h
Merged PRs (30d)
8

Description

I really like the fact that Grav can add timestamps to assets, it's the kind of thing that makes your life a lot easier as a developer! However, until just recently, I was under the impression that these timestamps were updated when the timestamps were updated in a manner similar to how the page caching mechanism works. But it looks like this wasn't the case, and timestamps are actually just a random string generated by Grav when the cache is cleared.

It would be great to have the timestamps update automatically, but more than anything, we need some documentation on how the timestamp mechanism works.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the existing Grav documentation for asset timestamps and cache clearing. Document how timestamps are generated, when they change, and how this differs from page-cache timestamp behavior. Done means a reader can understand the mechanism without assuming timestamps update automatically.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.