Hi, the index.html is deleted only when the cache needs to be invalidated, it’s not connected to the render process.
Thread Starter
jebod
(@jebod)
Hello, Thanks.. but i still do not understand about hyper-cache process. may i know when the cache needs to be invalidated and then delete the file index.html? because i saw sometimes quickly and sometimes takes a long time , causing slow in accessing the website
The cache is invalidated following your settings: when a post is published or receive a comment and so on.
Thread Starter
jebod
(@jebod)
when the cache process already invalidated, hyper-cache will delete index.html file and then hyper-cache will generate new Index.html file, would you give us an advise whether if old index.html not being deleted before new index.html file created ? and the process will continue with replacing old index.html file with the new one ?
The plugin delete the index.html when needed, but it is generated when someone visit the home page. They are not connected events.
The first one that visit the home produce the index.html generation.
Thread Starter
jebod
(@jebod)
yes i know, but the point of my question it is possible for old index.html not being deleted before new index.html file created ?
Thread Starter
jebod
(@jebod)
Hello @stefano Lissa,
we have a problem that when the index.html file deleted, there is so many request to access the website and access to the website became slow when waiting process new index.html file being generated? can you help us for this issue ?
There is no way to fix the issue right now, it wold require to introduce the stale cached files management.