Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Encoding of the html cache page

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
Malaury
Smarty n00b


Joined: 25 Aug 2021
Posts: 1

PostPosted: Wed Aug 25, 2021 3:07 pm    Post subject: Encoding of the html cache page Reply with quote

Hi there!

I've just started testing Smarty and so far I'm very excited to implement it in a new project.

I've been using this very simple following code to "hide" the source code of my HTML pages. Yes, it's very simple but it prevents the user from reading the code without additional steps.

<Script Language="Javascript">document.write(unescape(... my HTML code for the entire page...));<script>

How can I add the code to the pages cached by Smarty?

Thanks a lot for your suggestions!
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Wed Sep 08, 2021 3:08 pm    Post subject: Re: Encoding of the html cache page Reply with quote

Malaury wrote:
I've just started testing Smarty and so far I'm very excited to implement it in a new project.

Let's say you're new to web development as well as to Smarty. Which would perfectly explain the

Quote:
I've been using this very simple following code to "hide" the source code of my HTML pages.


Please stop wasting your and our time with such exercises.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP