Does OJS 3.3.0-19 actually generate .html files automatically?

Hello everyone,

I am currently using OJS 3.3.0-19, and I’ve noticed that some .html files appear inside the /cache/ directory of my journal.

I would like to ask:

  • Does OJS 3.3.0-19 actually create or store any HTML files by default?

  • If so, under what conditions or processes are these .html files generated (e.g., template caching, Smarty compilation, or plugin output)?

  • Or could it indicate an abnormal behavior, such as injected or malicious scripts writing HTML files into the cache folder?

I just want to confirm whether this is a normal OJS behavior or a security issue that I need to investigate further.

Thank you in advance for any clarification or advice.

Best regards,

Muhammad Khoiruddin Harahap

Hi!

Check if the [cache].web_cache is enabled in the config.inc.php file, that would explain it, this setting generates cache of the pages, which should severely improve the performance of your server.

But on another hand, the implementation has some problems, so I think it’s better to get it disabled and perhaps use this plugin, which I’m going to publish on the plugin gallery soon: GitHub - jonasraoni/frontEndCache: Cache the frontend pages for OJS/OMP/OPS

Best,
Jonas Raoni

2 Likes