reverse caching settings

This commit is contained in:
Niklas rust 2019-10-23 11:43:20 +02:00
parent 2be70fc0b0
commit 769ad0a3b8
2 changed files with 2 additions and 9 deletions

View file

@ -1,4 +1,4 @@
{% load static i18n compress cache%}<!DOCTYPE html> {% load static i18n compress%}<!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
@ -24,14 +24,11 @@
<!-- Your stuff: Third-party CSS libraries go here --> <!-- Your stuff: Third-party CSS libraries go here -->
{% compress css %} {% compress css %}
{% cache None css %}
<link href="{% static 'css/pygmentize.css' %}" rel="stylesheet"> <link href="{% static 'css/pygmentize.css' %}" rel="stylesheet">
<!-- This file stores project-specific CSS --> <!-- This file stores project-specific CSS -->
<link type="text/x-scss" href="{% static 'sass/project.scss' %}" rel="stylesheet"> <link type="text/x-scss" href="{% static 'sass/project.scss' %}" rel="stylesheet">
{% endcache %}
{% endcompress %} {% endcompress %}
{% endblock %} {% endblock %}

View file

@ -1,16 +1,12 @@
{% load static compress tz cache%}<!DOCTYPE html> {% load static compress tz %}<!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>{{ title }}</title> <title>{{ title }}</title>
{% compress css %} {% compress css %}
{% cache None css %}
<link type="text/x-scss" href="{% static 'sass/render.scss' %}" rel="stylesheet"> <link type="text/x-scss" href="{% static 'sass/render.scss' %}" rel="stylesheet">
<link href="{% static 'css/pygmentize.css' %}" rel="stylesheet"> <link href="{% static 'css/pygmentize.css' %}" rel="stylesheet">
{% endcache %}
{% endcompress %} {% endcompress %}
<link href="https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined" rel="stylesheet"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro&display=swap" rel="stylesheet">
</head> </head>