CI 4.0 Micro-framework? |
07-13-2018, 05:23 PM
(This post was last modified: 07-13-2018, 05:31 PM by John_Betong. Edit Reason: spelling not my forty :( )
@Ivo Miranda
>>> I saw something about serving static html? What? Lol Why would you use a framework for that? Just create a html with the framework and then point directly to the HTML file. It sounds a bit silly but maybe I got it wrong... I am in the process of rewriting an old site which is currently offline and created a free temporary domain using CI4 and using the old database contents. Here is a link to an old blog post that is now on the temporary site that explains the benefits of using a HTML file. The pure HTML file can be saved from the CI4's View generated page and think the only drawback is not being able to use sessions. If I am wrong I would be grateful for explanations. The HTML file needs only saving once and a subsequent check to see if the file_exists(...); This method as far as I can tell is even better than using the CI Caching Library because Ci4 is never loaded if the URL exists. https://johns-jokes.cf/eureka-for-making...oad-faster |
Welcome Guest, Not a member yet? Register Sign In |