Skip to content

added wp & file cache

Choose a tag to compare

@Xayer Xayer released this 11 Jan 12:36
· 22 commits to master since this release

when fetching the shell:

  1. look in the wp cache for the shell and if it exists, use it
  2. if the cache doesn’t exist, try to get a fresh version of the shell and save it locally to a file in ‘public/content/cache/wa-shell/shellurl.com.json’
  3. if the shell cannot be fetched, look locally for a file containing the shell in public/content/cache/wa-shell/shellurl.com.json
  4. save the file contents in the cache