Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerlembke committed Sep 10, 2023
1 parent 88555f5 commit 763d9ed
Show file tree
Hide file tree
Showing 13 changed files with 1,795 additions and 1,366 deletions.
5 changes: 4 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
*.js linguist-language=JavaScript
*.html linguist-language=html
*.css linguist-language=CascadingStyleSheets
*.ino linguist-language=C++
*.ino linguist-language=C++
*.c linguist-language=C++
*.cpp linguist-language=C++
*.h linguist-language=C++
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,23 +59,31 @@ Look into the examples. They are a good boiler plate to start from.

They explain the security system around managing files visibility and operations. In most cases it will be a simple copy-paste-use thingy.

# define fileManagerServerStaticsInternally
# Defines

Defines are used to configure some basic features of ESPFMfGK.

## define fileManagerServerStaticsInternally

By design concept ESPFMfGK is inteded as "drop it in and that is it" solution. To archive that it includes
its own html/css/javascript files. They are stored in code space and eat something around 35k.

If you want to reduce the code footprint, undefine that define and put those files into the first added filesystem. No free lunch, either code space or file system.
If you want to reduce the code footprint, undefine that define and put the files from "filemanager" folder into the first added filesystem. No free lunch, either code space or file system.

# define fileManagerServerStaticsInternallyDeflate
## define fileManagerServerStaticsInternallyDeflate

After reading that stuff in the chapter above there is an alternative version of storing the html/css/javascript files in code space: deflated data. That reduces the footprint to about 10k.

It is a tiny little bit http-protocol incompatible by ignoring whatever content the browser requests and always sending the deflated data.
It is a tiny little bit http-protocol incompatible by ignoring whatever content the browser requests and always sends the deflated data.

So either define one of those defines or none.

(All numbers are ballpark figures only and generous rounded up to include future code expansions.)

## ZipDownloadAll

Comment this define if you do not need the "download all files" functionality. It will save about 4 to 5k code space.


# Stuff I used

Expand Down
Loading

0 comments on commit 763d9ed

Please sign in to comment.