If you want the second folder to stay updated with the potential changes that appear in the original folder after working with it, then yes, you would need to copy it again.
Is it possible to tell the browser to ignore the "expires" header?
-
The website I am working on has a 2 minute expiry for JS and other files which is costing a lot in bandwidth
Is it possible to tell the browser to reuse certain files and ignore the expires header?
I am working from profiles
Response header example:
age: 507
cache-control: public, max-age=14400
cf-cache-status: HIT
cf-ray: 6b2af406a93508ad-SEA
content-encoding: br
content-type: application/javascript
date: Tue, 23 Nov 2021 14:05:35 GMT
etag: W/"619cc08e-15d9d"
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
expires: Tue, 23 Nov 2021 14:07:08 GMT
last-modified: Tue, 23 Nov 2021 10:21:02 GMT
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
report-to: {"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v3?s=DNXm9wuQcggqYz%2Boe8zCHiUXhdQ5%2F4OM7cvgUdmEsAVeCJePS8dEfOWjMDu8%2BsZO8PzK3izthApmD1xwtWO2aY3VCnFcWaOU1JbBXhMcMshs4SO0Q480NndKzD4co%2BCW"}],"group":"cf-nel","max_age":604800}
server: cloudflare
vary: Accept-Encoding
via: 1.1 google