Advertisement
Guest User

Untitled

a guest
Oct 7th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. <StephenLynx> because I might have figured a solution for multi-language support.
  2. <mona> :D
  3. <StephenLynx> but is not pretty.
  4. <StephenLynx> I could store /board/res/1.html and then /board/res/1.html-jp
  5. <StephenLynx> and use a 302 to redirect from the first to the second.
  6. <StephenLynx> so you would have quite a number of redirects all over the place.
  7. <mona> can it be 1.jp.html ?
  8. <StephenLynx> no
  9. <mona> ;T___T
  10. <StephenLynx> hm
  11. <StephenLynx> let me think.
  12. <StephenLynx> I think it could, actually.
  13. <StephenLynx> but it would be a little slower.
  14. <StephenLynx> since I would have to check the mime to get the extension and then add the token in the middle.
  15. <StephenLynx> while if I were to add to the end I would just append
  16. <StephenLynx> I read about vary
  17. <Space_> LazyLynx strinkes again :^)
  18. <StephenLynx> and you CAN use cookies on it. but only the whole thing.
  19. <StephenLynx> kek is not laziness, is efficiency.
  20. * lel (~lel@Rizon-F9692BD4.direcpc.com) has joined
  21. <Space_> tbh we're all lazy
  22. <StephenLynx> nigga, get fucked :v
  23. <StephenLynx> so
  24. <StephenLynx> its either renaming the files and throwing 302s out of the ass.
  25. <StephenLynx> or using the whole cookies for it.
  26. <StephenLynx> which would fuck endchan's shit up
  27. <StephenLynx> since they are grossly abusing cookies instead of using localstorage.
  28. <Space_> but people usually have cookies off though
  29. <StephenLynx> lol no
  30. <StephenLynx> very few people turn cookies off.
  31. <StephenLynx> since its absence breaks many things.
  32. <StephenLynx> way more than js
  33. <mona> you can fuck my shit up ;))))
  34. <StephenLynx> in a scenario where the front-end isn't raping cookies, using vary:cookie wouldn't be so bad.
  35. <StephenLynx> either the user is logged and will keep hitting its cache
  36. <StephenLynx> or he isn't logged
  37. <StephenLynx> and the same will occur.
  38. <StephenLynx> regardless, it would increase cache rebuild times geometrically.
  39. <StephenLynx> but
  40. <StephenLynx> I am not grossly against the idea
  41. <StephenLynx> however, I'd like to see it done on the front-end before.
  42. <StephenLynx> and see if it would suffice.
  43. <StephenLynx> if it doesn't, then I'd put it in the engine.
  44. <StephenLynx> it would be the difference between opening a tunnel and leveling a mountain.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement