Cache Page rules

Cache Page rules

1)If Cache everything caches html with 1 hr TTL on matching URL
then the images/static files will also be cached only for 1 hr TTL or more?

  1. example

Rule 1) https://domain.com/js/* Cache eveything TTL 30 days
Rule 2) https://domain.com/images/* Cache eveything TTL 30 days
Rule 3) https://domain.com/in/* Cache everything TTL 1 hr
Rule 4) https://domain.com/us/* Cache everything TTL 1 hr
Rule 5) https://domain.com/wd/* Cache everything TTL 1 hr
Rule 6) https://domaincom/gb/* Cache everything TTL 1 hr

Rule 1 and 2 have the static content
Rule 3-6 have actual html
i.e. https://domain.com/us/index.html

The confusion is this: When you access https://domain.com/us/index.html this also leads to download of static content from Rule 1 and 2.
So, will html page “https://domain.com/us/index.html” be cached at TTL of 1 hr and images and static files for 30 days?

Yes, that should be the case.

1 Like