Deleting the upload/cache
directory wipes out all your cached blades, which will cause them to be re-rendered. This can take a couple minutes (they seem to get kind of…cached somewhere else?) but it will work.
If you deleted the cache folder a while ago, and you’re still seeing issues, I’d guess one of the following is happening:
- The error you were trying to correct in your templates is still there.
- If this site is on a live server, the files may still be cached elsewhere (by the server, depending on your configuration, or something else like Cloudflare).
- If the site is on a live server and you’re using Trellis, Trellis deploys do not (by default) regenerate or wipe out blade caches, so deleting your local cache will have no effect on your remote site.
- You’ve somehow accidentally reconfigured your theme to store templates in another location, and haven’t wiped that location (this seems very unlikely).
If you could post some of the code in question, it might help with debugging.