Welcome Guest, Not a member yet? Register   Sign In
ion_auth's 1.2mb memory usage
#1

(This post was last modified: 12-13-2017, 01:39 PM by ponzo.)

Hello,

I'm a happy user of Ben Edmunds ion_auth.

I was profiling my app, and ion_auth costs 1.2 mb memory on top of my exisiting app, for each pageload
Cant do a better job for the auth part of then ben's ion auth, but i think it's maybe a bit overdone for my application.

4 options to share
a) 1.2 mb isnt a problem at all!
b)  only use this library when a user go's for example to /login , and to check if a user is logged in, make a simple rewrite of
ion_auth->logged_in, so you can skip loading the whole ion_auth library
c) use another auth library below 1.2mb memory usage
d) use an external login API ( i recently only used Instagrams auth api and stored the session in my database)

Best !
Reply


Messages In This Thread
ion_auth's 1.2mb memory usage - by ponzo - 12-13-2017, 01:37 PM
RE: ion_auth's 1.2mb memory usage - by qury - 12-14-2017, 03:21 AM
RE: ion_auth's 1.2mb memory usage - by ponzo - 12-14-2017, 04:06 AM
RE: ion_auth's 1.2mb memory usage - by qury - 12-14-2017, 02:55 PM
RE: ion_auth's 1.2mb memory usage - by ponzo - 12-14-2017, 03:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB