Skip to content

Commit

Permalink
use different cache keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Slashek committed Aug 26, 2023
1 parent c8ff066 commit 2dcecd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions app/views/pages/api/liquid/filters/index.json.liquid
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

{% cache key %}
{% cache 'lsp-filters-json' %}
{%- capture url -%}https://deidcfp1yn7c2.cloudfront.net/platform_docs/{{ context.version }}/filters.json{%- endcapture -%}
{% assign data = url | download_file | parse_json: raw_text: true %}
{% render 'api/liquid/filters', data: data %}
Expand Down
3 changes: 1 addition & 2 deletions app/views/pages/api/liquid/objects/index.json.liquid
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

{% cache key %}
{% cache 'lsp-objects-json' %}
{% render 'api/liquid/objects' %}
{% endcache %}

0 comments on commit 2dcecd9

Please sign in to comment.