Commit 6979a104 authored by Steve Weber's avatar Steve Weber
Browse files

Add some cache for the large overlay code

closed #9
parent 1a4bd778
Pipeline #35798 canceled with stages
from django.shortcuts import render, get_object_or_404
from django.core.exceptions import PermissionDenied
from django.views.decorators.csrf import csrf_exempt
from django.views.decorators.cache import cache_control
from django.core.mail import EmailMessage
from django.template import *
from django.template import loader
......@@ -9,7 +10,9 @@ from projector.models import Project
from urllib.parse import urlparse
import json
# Create your views here.
@cache_control(max_age=3600)
def overlay_bundle(request, pk):
context = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment