Skip to content

Commit 7d9c0a9

Browse files
committed
Prewarm cache for first visitor
1 parent 95f16e8 commit 7d9c0a9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

update_demoweb.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,7 @@ mysql $MYSQLOPTS "$DBNAME" < domjudge_demo.sql
3030

3131
# Reset apache alias to correct state
3232
sed -i 's|Alias /domjudge|Alias /demoweb|g' etc/apache.conf
33+
34+
# Warmup the cache for our first visitor
35+
./webapp/bin/console cache:clear
36+
./webapp/bin/console cache:warmup

0 commit comments

Comments
 (0)