Guys, we are facing a unique problem.
Whenever we Stop our Site in the Websites sections by changing its Status from “Running“ to “Stopped“, it starts serving the
index.html file from
Following is the code in that file:
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<h2 style="display: inline">System will be back up shortly!<br/></h2>
Now the problem is that this file is being cached by the browsers.
What we can do to avoid the caching issues is add a query parameter to the end of the url, like let's say
?timestamp=1675725372 which will be changing constantly, and an uncached version of the app will be delivered across the board to all of the users.
Now, how do I do that in the aaPanel ?