Skip to content

Commit

Permalink
Bypass HTML caching
Browse files Browse the repository at this point in the history
Mengatasi file HTML yg sering di-cache oleh browser sehingga pencetakan akan menampilkan file yg baru saja digenerasi
  • Loading branch information
goesredy committed Jun 24, 2021
1 parent c9384e7 commit c286264
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions files/.htaccess
@@ -0,0 +1,8 @@
# Mengatasi file HTML yg sering di-cache oleh browser sehingga pencetakan akan menampilkan file yg baru saja digenerasi
<IfModule mod_headers.c>
<FilesMatch "\.(htm|html)$">
Header set Cache-Control "no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires 0
</FilesMatch>
</IfModule>

0 comments on commit c286264

Please sign in to comment.